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.000983/0.000983, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001002/0.001002, allocations: 169 kB / 24.86 MB, free: 8.836 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.9309/0.9309, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.869/1.869, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.543e-06/1.543e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.543e-05, allocations: 3.625 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004562/0.004587, allocations: 2.868 MB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.006859, allocations: 2.185 MB / 0.8177 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.006975, allocations: 7.938 kB / 0.8178 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.007621, allocations: 236.2 kB / 0.818 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.007801, allocations: 81.28 kB / 0.8181 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.008888, allocations: 498.4 kB / 0.8185 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.009471, allocations: 0.5187 MB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.009581, allocations: 24.94 kB / 0.8191 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.009925, allocations: 268.3 kB / 0.8193 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.01019, allocations: 183.6 kB / 0.8195 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.01025, allocations: 37.28 kB / 0.8195 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.01071, allocations: 271.5 kB / 0.8198 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01084, allocations: 159.5 kB / 0.8199 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.01094, allocations: 143.7 kB / 0.8201 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.01139, allocations: 0.5266 MB / 0.8206 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01139, allocations: 0 / 0.8206 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.664e-06/0.01139, allocations: 1.156 kB / 0.8206 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.0114, allocations: 4 kB / 0.8206 GB, free: 9.453 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.0008319/0.01223, allocations: 0.8772 MB / 0.8215 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.01226, allocations: 13.53 kB / 0.8215 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.01321, allocations: 211 kB / 0.8217 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.01351, allocations: 326.6 kB / 0.822 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.01359, allocations: 135.3 kB / 0.8221 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.01363, allocations: 21.7 kB / 0.8221 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.01401, allocations: 215.6 kB / 0.8223 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.01402, allocations: 4.172 kB / 0.8223 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.01405, allocations: 12.12 kB / 0.8224 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.01405, allocations: 0 / 0.8224 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.01423, allocations: 102.6 kB / 0.8225 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.01516, allocations: 0.7017 MB / 0.8231 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.0168, allocations: 458.9 kB / 0.8236 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.0169, allocations: 63.64 kB / 0.8236 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.01692, allocations: 4 kB / 0.8236 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.01714, allocations: 164.8 kB / 0.8238 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.01714, allocations: 0 / 0.8238 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0004655/0.01761, allocations: 275.8 kB / 0.8241 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.01764, allocations: 59.34 kB / 0.8241 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.01796, allocations: 0.5219 MB / 0.8246 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.01799, allocations: 33.69 kB / 0.8247 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.01814, allocations: 287.2 kB / 0.8249 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.01819, allocations: 75.41 kB / 0.825 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.01829, allocations: 67.31 kB / 0.8251 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01845, allocations: 0.5625 MB / 0.8256 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.0186, allocations: 121.5 kB / 0.8257 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.01876, allocations: 190.7 kB / 0.8259 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.01897, allocations: 168.2 kB / 0.8261 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01898, allocations: 3.938 kB / 0.8261 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004885/0.01946, allocations: 452.4 kB / 0.8265 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.01949, allocations: 45.69 kB / 0.8266 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.0195, allocations: 3.938 kB / 0.8266 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.01951, allocations: 4 kB / 0.8266 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.01973, allocations: 59.94 kB / 0.8266 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.01973, allocations: 0 / 0.8266 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.01989, allocations: 43.86 kB / 0.8267 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.01992, allocations: 15.97 kB / 0.8267 GB, free: 2.965 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.000125/0.02005, allocations: 182.7 kB / 0.8268 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.02011, allocations: 51.72 kB / 0.8269 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.02015, allocations: 40.02 kB / 0.8269 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02016, allocations: 7.984 kB / 0.8269 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.02016, allocations: 0 / 0.8269 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.02016, allocations: 0 / 0.8269 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.02045, allocations: 320.5 kB / 0.8272 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.02045, allocations: 4 kB / 0.8273 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.02064, allocations: 63.88 kB / 0.8273 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.02065, allocations: 3.984 kB / 0.8273 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.02067, allocations: 11.98 kB / 0.8273 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02067, allocations: 4 kB / 0.8273 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02067, allocations: 3.984 kB / 0.8273 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.02101, allocations: 274 kB / 0.8276 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.02113, allocations: 91.64 kB / 0.8277 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.02118, allocations: 11.98 kB / 0.8277 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.02135, allocations: 31.97 kB / 0.8277 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.0214, allocations: 27.95 kB / 0.8278 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.02143, allocations: 11.98 kB / 0.8278 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000171/0.0216, allocations: 307 kB / 0.8281 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0216, allocations: 3.938 kB / 0.8281 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002586/0.02186, allocations: 99.94 kB / 0.8282 GB, free: 1.391 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.0001856/0.02204, allocations: 145.9 kB / 0.8283 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.02244, allocations: 296.5 kB / 0.8286 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.02244, allocations: 0 / 0.8286 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.02257, allocations: 94.19 kB / 0.8287 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.02288, allocations: 121.7 kB / 0.8288 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.02396, allocations: 0.6956 MB / 0.8295 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.877e-05/0.02404, allocations: 137 kB / 0.8296 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.02426, allocations: 82.95 kB / 0.8297 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.02456, allocations: 190.1 kB / 0.8299 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of SimCode: time 7.52e-07/0.02456, allocations: 0 / 0.8299 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of Templates: time 0.01135/0.03592, allocations: 10.62 MB / 0.8402 GB, free: 5.113 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.217612033244222]