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.001025/0.001025, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001136/0.001136, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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.9026/0.9026, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.818/1.818, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.794e-06/1.794e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.095e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003089/0.00311, allocations: 2.92 MB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002539/0.00565, allocations: 2.221 MB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.00575, allocations: 0 / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.006329, allocations: 240.5 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.006438, allocations: 85.75 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.007156, allocations: 493.5 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.007558, allocations: 0.5145 MB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.007649, allocations: 34.28 kB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.007851, allocations: 263.5 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.008101, allocations: 195.5 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.00818, allocations: 36.91 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.008526, allocations: 259.6 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.008648, allocations: 168.4 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.008757, allocations: 135.7 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.009227, allocations: 0.5348 MB / 0.8195 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.009229, allocations: 0 / 0.8195 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.82e-07/0.009229, allocations: 0 / 0.8195 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.009234, allocations: 0 / 0.8195 GB, free: 9.641 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.0008618/0.0101, allocations: 0.8736 MB / 0.8203 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.01013, allocations: 13.59 kB / 0.8203 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/0.01105, allocations: 214.5 kB / 0.8205 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.01138, allocations: 331.6 kB / 0.8208 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.01148, allocations: 131.3 kB / 0.821 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.01152, allocations: 24.25 kB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.01196, allocations: 237 kB / 0.8212 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.01197, allocations: 192 / 0.8212 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.012, allocations: 12.12 kB / 0.8212 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.012, allocations: 0 / 0.8212 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.01225, allocations: 122.9 kB / 0.8213 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.01327, allocations: 0.8133 MB / 0.8221 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.01486, allocations: 464 kB / 0.8226 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.015, allocations: 79.64 kB / 0.8227 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.01503, allocations: 7.984 kB / 0.8227 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.01528, allocations: 188.8 kB / 0.8228 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.01528, allocations: 0 / 0.8228 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0005506/0.01583, allocations: 299.5 kB / 0.8231 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01587, allocations: 59.34 kB / 0.8232 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.01652, allocations: 0.53 MB / 0.8237 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.01657, allocations: 33.7 kB / 0.8237 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.01671, allocations: 279.2 kB / 0.824 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.01677, allocations: 75.42 kB / 0.8241 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.01686, allocations: 63.33 kB / 0.8241 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.01704, allocations: 0.5665 MB / 0.8247 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.01725, allocations: 153.4 kB / 0.8248 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.01747, allocations: 241 kB / 0.8251 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.01774, allocations: 216.1 kB / 0.8253 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01775, allocations: 0 / 0.8253 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005609/0.01831, allocations: 0.4965 MB / 0.8258 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.01834, allocations: 45.69 kB / 0.8258 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01834, allocations: 3.984 kB / 0.8258 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01836, allocations: 0 / 0.8258 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.01858, allocations: 71.86 kB / 0.8259 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.01859, allocations: 0 / 0.8259 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.01875, allocations: 43.8 kB / 0.8259 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.01878, allocations: 23.98 kB / 0.8259 GB, free: 2.734 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.0001249/0.01891, allocations: 170.9 kB / 0.8261 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.01897, allocations: 51.72 kB / 0.8262 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.01902, allocations: 48 kB / 0.8262 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01902, allocations: 4 kB / 0.8262 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01902, allocations: 0 / 0.8262 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01903, allocations: 0 / 0.8262 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.01935, allocations: 407.9 kB / 0.8266 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01935, allocations: 0 / 0.8266 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.01955, allocations: 67.92 kB / 0.8267 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01955, allocations: 0 / 0.8267 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.01957, allocations: 11.98 kB / 0.8267 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01957, allocations: 0 / 0.8267 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01958, allocations: 0 / 0.8267 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.01997, allocations: 289.9 kB / 0.8269 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.02011, allocations: 103.6 kB / 0.827 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.02015, allocations: 8 kB / 0.8271 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.02032, allocations: 31.97 kB / 0.8271 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.02038, allocations: 23.95 kB / 0.8271 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.0204, allocations: 19.92 kB / 0.8271 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002158/0.02062, allocations: 339 kB / 0.8274 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02062, allocations: 0 / 0.8274 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000251/0.02087, allocations: 99.92 kB / 0.8275 GB, free: 1.027 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.0001657/0.02104, allocations: 135.1 kB / 0.8277 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.02148, allocations: 335 kB / 0.828 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.02148, allocations: 8 kB / 0.828 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.02164, allocations: 103.5 kB / 0.8281 GB, free: 436 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.02195, allocations: 129.7 kB / 0.8282 GB, free: 304 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.02311, allocations: 0.6998 MB / 0.8289 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.02319, allocations: 137.1 kB / 0.829 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.02343, allocations: 114.8 kB / 0.8291 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.02356, allocations: 44.47 kB / 0.8292 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/0.02356, allocations: 4 kB / 0.8292 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of Templates: time 0.01144/0.035, allocations: 10.28 MB / 0.8392 GB, free: 5.117 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: 4.936299876775593]