Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 83.69 kB / 20.45 MB, free: 4.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 161 kB / 23.82 MB, free: 0.7617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.972/0.972, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.935/1.935, allocations: 377.9 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.242e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004055/0.004087, allocations: 2.918 MB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.006746, allocations: 2.23 MB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.00693, allocations: 1.062 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007526/0.007683, allocations: 243.1 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.007838, allocations: 83.58 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009842/0.008822, allocations: 484.6 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.009368, allocations: 0.5234 MB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.00948, allocations: 28.91 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.009751, allocations: 263.5 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.009965, allocations: 187.6 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.01002, allocations: 36.62 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.01038, allocations: 264.2 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.01053, allocations: 167.5 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01065, allocations: 136.5 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.01125, allocations: 0.5336 MB / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01126, allocations: 0.9375 kB / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01126, allocations: 0 / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.01126, allocations: 0 / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001003/0.01227, allocations: 0.8779 MB / 0.8203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.0123, allocations: 12.03 kB / 0.8203 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.01337, allocations: 215.6 kB / 0.8205 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.01377, allocations: 335.2 kB / 0.8208 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.01387, allocations: 131.4 kB / 0.821 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.01392, allocations: 22.08 kB / 0.821 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.01439, allocations: 234.4 kB / 0.8212 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.01439, allocations: 192 / 0.8212 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.01442, allocations: 9.281 kB / 0.8212 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01443, allocations: 3.938 kB / 0.8212 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.01469, allocations: 122.1 kB / 0.8213 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.01583, allocations: 0.8087 MB / 0.8221 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.01752, allocations: 473.6 kB / 0.8226 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01767, allocations: 83.66 kB / 0.8227 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.01769, allocations: 4 kB / 0.8227 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.01797, allocations: 180.8 kB / 0.8228 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.01798, allocations: 0 / 0.8228 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0006219/0.0186, allocations: 303.2 kB / 0.8231 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.01864, allocations: 63.34 kB / 0.8232 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.01902, allocations: 0.526 MB / 0.8237 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.01906, allocations: 37.69 kB / 0.8237 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.01925, allocations: 283.2 kB / 0.824 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.01931, allocations: 67.44 kB / 0.8241 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01941, allocations: 67.33 kB / 0.8241 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.01956, allocations: 0.5665 MB / 0.8247 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.01977, allocations: 149.5 kB / 0.8248 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.02, allocations: 234.7 kB / 0.8251 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.02029, allocations: 216.1 kB / 0.8253 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02029, allocations: 0 / 0.8253 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006703/0.02096, allocations: 0.5004 MB / 0.8257 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.021, allocations: 41.69 kB / 0.8258 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.02101, allocations: 0 / 0.8258 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.02102, allocations: 3.984 kB / 0.8258 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.02126, allocations: 71.88 kB / 0.8259 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.02127, allocations: 7.984 kB / 0.8259 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.02144, allocations: 43.8 kB / 0.8259 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.02148, allocations: 19.98 kB / 0.8259 GB, free: 2.723 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0001286/0.0216, allocations: 168.6 kB / 0.8261 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.02167, allocations: 51.72 kB / 0.8261 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.02172, allocations: 40.02 kB / 0.8262 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02172, allocations: 4 kB / 0.8262 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02173, allocations: 0 / 0.8262 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02173, allocations: 3.984 kB / 0.8262 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.02208, allocations: 407.9 kB / 0.8266 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02208, allocations: 0 / 0.8266 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.02229, allocations: 71.88 kB / 0.8266 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.02229, allocations: 0 / 0.8266 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.02231, allocations: 15.92 kB / 0.8267 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.02232, allocations: 0 / 0.8267 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02232, allocations: 0 / 0.8267 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.02274, allocations: 285.8 kB / 0.8269 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.02289, allocations: 107.6 kB / 0.827 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.02293, allocations: 8 kB / 0.827 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.0231, allocations: 35.95 kB / 0.8271 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.02317, allocations: 19.97 kB / 0.8271 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.0232, allocations: 19.97 kB / 0.8271 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002272/0.02342, allocations: 335 kB / 0.8274 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02342, allocations: 0 / 0.8274 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002799/0.0237, allocations: 99.94 kB / 0.8275 GB, free: 1.016 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.0002208/0.02392, allocations: 134 kB / 0.8277 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.02439, allocations: 331.2 kB / 0.828 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02439, allocations: 8 kB / 0.828 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.02456, allocations: 103.6 kB / 0.8281 GB, free: 432 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.0249, allocations: 133.7 kB / 0.8282 GB, free: 296 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.0262, allocations: 0.7034 MB / 0.8289 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.016e-05/0.02628, allocations: 137.1 kB / 0.829 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004072/0.02669, allocations: 118.9 kB / 0.8291 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.02682, allocations: 40.47 kB / 0.8292 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of SimCode: time 8.92e-07/0.02682, allocations: 4 kB / 0.8292 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of Templates: time 0.01116/0.03798, allocations: 9.5 MB / 0.8385 GB, free: 5.883 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.474258138332516]