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.001791/0.001791, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002692/0.002692, allocations: 210.6 kB / 22.99 MB, free: 4.957 MB / 14.72 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 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.336/3.336, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.75 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005118/0.402, allocations: 2.701 MB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003759/0.4057, allocations: 2.074 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.4059, allocations: 7.938 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009185/0.4068, allocations: 230.6 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.407, allocations: 79.28 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.4083, allocations: 497.6 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007013/0.409, allocations: 0.5155 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4092, allocations: 28.88 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.4094, allocations: 211.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.4098, allocations: 215.3 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.4099, allocations: 36 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.4104, allocations: 287.6 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.4106, allocations: 159.5 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.4109, allocations: 167.2 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.4119, allocations: 0.7631 MB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4119, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4119, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.4119, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 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.001601/0.4135, allocations: 0.7837 MB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4135, allocations: 12.03 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.4158, allocations: 232.4 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.4165, allocations: 376.5 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.4167, allocations: 131.3 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.4167, allocations: 20.38 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4182, allocations: 0.5313 MB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4182, allocations: 0 / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.4183, allocations: 8 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.4183, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.4205, allocations: 0.7611 MB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.4231, allocations: 1.116 MB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005982/0.4291, allocations: 1.003 MB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.4301, allocations: 384.6 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.4302, allocations: 4 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.4315, allocations: 0.5273 MB / 1.341 GB, free: 2.977 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.225e-06/0.4315, allocations: 4 kB / 1.341 GB, free: 2.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003427/0.435, allocations: 1.182 MB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.435, allocations: 59.39 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/0.4357, allocations: 0.5175 MB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.4358, allocations: 33.7 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.436, allocations: 200.5 kB / 1.343 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4362, allocations: 67.42 kB / 1.343 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4363, allocations: 73.66 kB / 1.343 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4365, allocations: 354.8 kB / 1.343 GB, free: 460 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4378, allocations: 0.4943 MB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.439, allocations: 0.5631 MB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.4411, allocations: 0.7541 MB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4411, allocations: 0 / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002716/0.4438, allocations: 1.112 MB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.4439, allocations: 45.69 kB / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4439, allocations: 0 / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4439, allocations: 0 / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/0.4445, allocations: 95.77 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4445, allocations: 0 / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.4451, allocations: 67.81 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.4452, allocations: 15.98 kB / 1.346 GB, free: 13.25 MB / 1.045 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$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.0003087/0.4455, allocations: 219.9 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4456, allocations: 43.72 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.658e-05/0.4457, allocations: 60 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4457, allocations: 3.938 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4457, allocations: 4 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4457, allocations: 11.92 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.4464, allocations: 0.5046 MB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4464, allocations: 0 / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.4471, allocations: 91.89 kB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4471, allocations: 0 / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.4471, allocations: 7.984 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4471, allocations: 0 / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4471, allocations: 3.938 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.4494, allocations: 0.8416 MB / 1.348 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.4497, allocations: 115.6 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/0.4498, allocations: 8 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.4504, allocations: 63.91 kB / 1.348 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.4505, allocations: 23.91 kB / 1.348 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.4505, allocations: 15.97 kB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004726/0.451, allocations: 391.1 kB / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.451, allocations: 0 / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004495/0.4514, allocations: 99.94 kB / 1.348 GB, free: 10.71 MB / 1.045 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.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * 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.0003035/0.4518, allocations: 143.1 kB / 1.349 GB, free: 10.56 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.4543, allocations: 0.9574 MB / 1.35 GB, free: 9.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4543, allocations: 7.875 kB / 1.35 GB, free: 9.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.4554, allocations: 408.6 kB / 1.35 GB, free: 9.176 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.4559, allocations: 89.84 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.4585, allocations: 1.057 MB / 1.351 GB, free: 8.004 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4588, allocations: 252.9 kB / 1.351 GB, free: 7.727 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.4592, allocations: 126.9 kB / 1.351 GB, free: 7.605 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.4594, allocations: 47.39 kB / 1.351 GB, free: 7.559 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.4594, allocations: 0 / 1.351 GB, free: 7.559 MB / 1.045 GB Notification: Performance of Templates: time 0.01809/0.4775, allocations: 9.862 MB / 1.361 GB, free: 13.81 MB / 1.061 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.769416017996264]