Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 114 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 68.08 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9446/0.9461, allocations: 151.6 MB / 1.167 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003345/0.9494, allocations: 2.05 MB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003682/0.9532, allocations: 2.605 MB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.9534, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.9549, allocations: 0.5111 MB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.9551, allocations: 75.53 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.9562, allocations: 266.1 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.9567, allocations: 330.3 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.9569, allocations: 97 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.9571, allocations: 107.5 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.9574, allocations: 123.3 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.9574, allocations: 12 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.958, allocations: 327.5 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.9582, allocations: 103.5 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.9584, allocations: 214.5 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.9595, allocations: 0.8216 MB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.9596, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9596, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.9596, allocations: 0 / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001657/0.9613, allocations: 0.8759 MB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.9613, allocations: 12.03 kB / 1.176 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.9615, allocations: 68.09 kB / 1.176 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.9622, allocations: 384.3 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.9622, allocations: 8.359 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.9623, allocations: 12.38 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.9626, allocations: 126.6 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9626, allocations: 0 / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.9626, allocations: 4 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9626, allocations: 7.984 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.9628, allocations: 95.95 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.9638, allocations: 0.5509 MB / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.964, allocations: 102.5 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.9641, allocations: 68.91 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.9641, allocations: 8.219 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.9644, allocations: 141 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.9644, allocations: 0 / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005096/0.9649, allocations: 310.4 kB / 1.177 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.965, allocations: 81.11 kB / 1.178 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.9659, allocations: 0.7935 MB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.966, allocations: 25.7 kB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.9663, allocations: 296.2 kB / 1.179 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.9663, allocations: 27.59 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.9664, allocations: 29.7 kB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9665, allocations: 314 kB / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.9666, allocations: 43.97 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.9667, allocations: 47.97 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.9669, allocations: 160.2 kB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9669, allocations: 0 / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003394/0.9672, allocations: 262.4 kB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.609e-05/0.9673, allocations: 44.5 kB / 1.179 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9673, allocations: 0 / 1.179 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.9673, allocations: 8 kB / 1.179 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.9674, allocations: 7.938 kB / 1.18 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.9674, allocations: 4 kB / 1.18 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.9676, allocations: 7.984 kB / 1.18 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.9676, allocations: 4 kB / 1.18 GB, free: 7.121 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.968, allocations: 337.6 kB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.9681, allocations: 67.09 kB / 1.18 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.9685, allocations: 297 kB / 1.18 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9686, allocations: 4 kB / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9686, allocations: 0 / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.9688, allocations: 152.2 kB / 1.18 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.9688, allocations: 7.938 kB / 1.18 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.969, allocations: 4 kB / 1.18 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.969, allocations: 7.984 kB / 1.18 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003932/0.9694, allocations: 366.4 kB / 1.181 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004418/0.9699, allocations: 467.5 kB / 1.181 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001208/0.97, allocations: 91.91 kB / 1.181 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007038/0.9707, allocations: 0.5809 MB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of Backend: time 7.12e-07/0.9707, allocations: 7.938 kB / 1.182 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009496/0.9717, allocations: 301.8 kB / 1.182 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002473/0.9742, allocations: 1.661 MB / 1.184 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of Templates: time 0.01291/0.9871, allocations: 5.707 MB / 1.189 GB, free: 13.04 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches