Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006111/0.006112, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.124/3.124, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003905, allocations: 14.42 kB / 0.9123 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4123, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003099/0.4154, allocations: 1.868 MB / 1.072 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.4193, allocations: 2.562 MB / 1.074 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.4194, allocations: 0 / 1.074 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.4211, allocations: 0.5332 MB / 1.075 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.4214, allocations: 111.5 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.4221, allocations: 212.2 kB / 1.075 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000508/0.4226, allocations: 358.2 kB / 1.075 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.4228, allocations: 69.06 kB / 1.075 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.423, allocations: 119.3 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.4232, allocations: 147.2 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.4233, allocations: 4 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.4235, allocations: 51.97 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4237, allocations: 135.4 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.4239, allocations: 244.1 kB / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.4247, allocations: 0.677 MB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4247, allocations: 0 / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4248, allocations: 4 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4248, allocations: 0 / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001358/0.4261, allocations: 0.8333 MB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4262, allocations: 11.97 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.4263, allocations: 72.03 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.4271, allocations: 452 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.4271, allocations: 8.375 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.4271, allocations: 12.06 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.4274, allocations: 100.2 kB / 1.078 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4274, allocations: 0 / 1.078 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4275, allocations: 0 / 1.078 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.4275, allocations: 7.984 kB / 1.078 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.4276, allocations: 35.98 kB / 1.078 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.4286, allocations: 0.52 MB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.429, allocations: 106.6 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.4291, allocations: 36.83 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.4291, allocations: 0 / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.4294, allocations: 91.39 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.4294, allocations: 0 / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004779/0.4299, allocations: 204.7 kB / 1.079 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.43, allocations: 102.8 kB / 1.079 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.4312, allocations: 0.9149 MB / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4312, allocations: 29.7 kB / 1.08 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.4316, allocations: 316 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4317, allocations: 15.75 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.4317, allocations: 21.7 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4319, allocations: 309.9 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.432, allocations: 31.98 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4321, allocations: 80.2 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4323, allocations: 65.7 kB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4323, allocations: 0 / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003469/0.4327, allocations: 180.6 kB / 1.081 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4327, allocations: 9.344 kB / 1.081 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4327, allocations: 4 kB / 1.081 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4327, allocations: 0 / 1.081 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.4328, allocations: 12 kB / 1.081 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4328, allocations: 192 / 1.081 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.433, allocations: 11.92 kB / 1.081 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.433, allocations: 7.938 kB / 1.081 GB, free: 15.44 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0004729/0.4335, allocations: 321.6 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.4336, allocations: 79.17 kB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.4337, allocations: 74.42 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4337, allocations: 0 / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4337, allocations: 0 / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.4337, allocations: 7.922 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.4343, allocations: 393.3 kB / 1.082 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4343, allocations: 0 / 1.082 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.4343, allocations: 8 kB / 1.082 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4343, allocations: 0 / 1.082 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4343, allocations: 0 / 1.082 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.4344, allocations: 4 kB / 1.082 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4344, allocations: 4 kB / 1.082 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.4347, allocations: 204.1 kB / 1.082 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.4349, allocations: 144.2 kB / 1.082 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.4349, allocations: 0 / 1.082 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.435, allocations: 7.984 kB / 1.082 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.4351, allocations: 11.98 kB / 1.082 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4351, allocations: 7.938 kB / 1.082 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009985/0.4362, allocations: 0.6824 MB / 1.083 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4362, allocations: 0 / 1.083 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003304/0.4365, allocations: 56 kB / 1.083 GB, free: 13.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/0.4382, allocations: 423.1 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4385, allocations: 75.89 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4385, allocations: 4 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.4386, allocations: 36.05 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.4394, allocations: 153.8 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.4417, allocations: 1.288 MB / 1.085 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.4424, allocations: 0.9904 MB / 1.086 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.4426, allocations: 42.97 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.4427, allocations: 27.42 kB / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.4427, allocations: 0 / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.01404/0.4567, allocations: 5.798 MB / 1.092 GB, free: 4.758 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches