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.0009611/0.0009611, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009539/0.0009539, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9148/0.9148, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.817/1.817, allocations: 377.9 MB / 0.6239 GB, free: 8.41 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.974e-06/1.974e-06, allocations: 3.938 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.932e-05, allocations: 3.312 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003025/0.003044, allocations: 2.867 MB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.005354, allocations: 2.182 MB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.005483, allocations: 4 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.006109, allocations: 244.2 kB / 0.8172 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.006251, allocations: 85.69 kB / 0.8173 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.007152, allocations: 486.1 kB / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.007659, allocations: 0.5263 MB / 0.8183 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.007757, allocations: 26.33 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.008018, allocations: 267.6 kB / 0.8186 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.008224, allocations: 183.6 kB / 0.8187 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.008278, allocations: 39.94 kB / 0.8188 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.008654, allocations: 264.1 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.008789, allocations: 164.2 kB / 0.8192 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.00891, allocations: 139.6 kB / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.009491, allocations: 0.5316 MB / 0.8198 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009494, allocations: 3.938 kB / 0.8198 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009495, allocations: 3.938 kB / 0.8198 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.009501, allocations: 0 / 0.8198 GB, free: 9.434 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.001067/0.01057, allocations: 0.8772 MB / 0.8207 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.01061, allocations: 9.25 kB / 0.8207 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009305/0.01154, allocations: 218.5 kB / 0.8209 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.01185, allocations: 319.3 kB / 0.8212 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.01194, allocations: 134.8 kB / 0.8213 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.01198, allocations: 16.31 kB / 0.8214 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.01238, allocations: 225.2 kB / 0.8216 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.01239, allocations: 192 / 0.8216 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.01241, allocations: 8.125 kB / 0.8216 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.01242, allocations: 4.5 kB / 0.8216 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.01259, allocations: 92.28 kB / 0.8217 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.01358, allocations: 0.7172 MB / 0.8224 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.01505, allocations: 452.8 kB / 0.8228 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.01517, allocations: 63.66 kB / 0.8229 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.01519, allocations: 4 kB / 0.8229 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.01543, allocations: 172.8 kB / 0.823 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.01544, allocations: 0 / 0.823 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0004719/0.01591, allocations: 263.3 kB / 0.8233 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.01594, allocations: 63.33 kB / 0.8233 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.01629, allocations: 0.5258 MB / 0.8239 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.01633, allocations: 33.7 kB / 0.8239 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.01648, allocations: 283.2 kB / 0.8242 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.01654, allocations: 75.41 kB / 0.8242 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01665, allocations: 67.3 kB / 0.8243 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.01683, allocations: 0.5625 MB / 0.8248 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.017, allocations: 125.5 kB / 0.825 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01719, allocations: 193 kB / 0.8251 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.01742, allocations: 168.1 kB / 0.8253 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01742, allocations: 7.969 kB / 0.8253 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005041/0.01793, allocations: 448.5 kB / 0.8257 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.01796, allocations: 37.69 kB / 0.8258 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01797, allocations: 0 / 0.8258 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01798, allocations: 0 / 0.8258 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.0182, allocations: 75.86 kB / 0.8259 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.01821, allocations: 4 kB / 0.8259 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.01836, allocations: 39.86 kB / 0.8259 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.01839, allocations: 11.98 kB / 0.8259 GB, free: 2.957 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.0001369/0.01853, allocations: 178.5 kB / 0.8261 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.01859, allocations: 51.72 kB / 0.8261 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.01864, allocations: 51.94 kB / 0.8262 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01864, allocations: 0 / 0.8262 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01865, allocations: 0 / 0.8262 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01865, allocations: 0 / 0.8262 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.01894, allocations: 324.5 kB / 0.8265 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01894, allocations: 0 / 0.8265 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.01913, allocations: 67.92 kB / 0.8265 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01913, allocations: 0 / 0.8265 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.01915, allocations: 15.98 kB / 0.8266 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01915, allocations: 4 kB / 0.8266 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01915, allocations: 0 / 0.8266 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.0195, allocations: 259.9 kB / 0.8268 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.01962, allocations: 107.6 kB / 0.8269 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.01966, allocations: 8 kB / 0.8269 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.01982, allocations: 27.97 kB / 0.827 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.01988, allocations: 27.95 kB / 0.827 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.0199, allocations: 7.984 kB / 0.827 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001887/0.02009, allocations: 315 kB / 0.8273 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.02009, allocations: 4 kB / 0.8273 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002663/0.02035, allocations: 99.92 kB / 0.8274 GB, free: 1.383 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.0001923/0.02055, allocations: 143.1 kB / 0.8275 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.0209, allocations: 290.8 kB / 0.8278 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0209, allocations: 4 kB / 0.8278 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.02103, allocations: 95.5 kB / 0.8279 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.02134, allocations: 125.7 kB / 0.828 GB, free: 0.7031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.02261, allocations: 0.6935 MB / 0.8287 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.02271, allocations: 137.1 kB / 0.8288 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.02295, allocations: 82.95 kB / 0.8289 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.02326, allocations: 186 kB / 0.8291 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of SimCode: time 7.32e-07/0.02326, allocations: 8 kB / 0.8291 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of Templates: time 0.01164/0.0349, allocations: 10.44 MB / 0.8393 GB, free: 5.309 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.0011990261264145]