Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001405/0.001405, allocations: 79.66 kB / 19.76 MB, free: 2.031 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.001546/0.001546, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002106/0.002106, allocations: 74.22 kB / 0.9516 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.421, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005149/0.4262, allocations: 2.713 MB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.4299, allocations: 2.064 MB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.4301, allocations: 3.938 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008471/0.4309, allocations: 238.6 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.4311, allocations: 75.28 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4324, allocations: 492 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.4331, allocations: 0.5181 MB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.4332, allocations: 36.84 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.4335, allocations: 207.4 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.4338, allocations: 203.3 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.753e-05/0.4339, allocations: 40 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.4344, allocations: 263.6 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.4347, allocations: 159.5 kB / 1.124 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.4349, allocations: 171.2 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.4359, allocations: 0.7552 MB / 1.125 GB, free: 10.56 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4359, allocations: 3.938 kB / 1.125 GB, free: 10.56 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4359, allocations: 4 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4359, allocations: 0 / 1.125 GB, free: 10.55 MB / 1.076 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.001702/0.4376, allocations: 0.776 MB / 1.126 GB, free: 9.734 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4377, allocations: 12.03 kB / 1.126 GB, free: 9.723 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.4399, allocations: 232.4 kB / 1.126 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.4407, allocations: 376.5 kB / 1.127 GB, free: 9.102 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.4408, allocations: 143.3 kB / 1.127 GB, free: 8.938 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.4409, allocations: 8.375 kB / 1.127 GB, free: 8.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4423, allocations: 0.5334 MB / 1.127 GB, free: 8.391 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4423, allocations: 0 / 1.127 GB, free: 8.391 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.4423, allocations: 4 kB / 1.127 GB, free: 8.387 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4423, allocations: 4 kB / 1.127 GB, free: 8.383 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.4446, allocations: 0.7572 MB / 1.128 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.4472, allocations: 1.117 MB / 1.129 GB, free: 6.477 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005504/0.4527, allocations: 1.002 MB / 1.13 GB, free: 5.465 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.4538, allocations: 388.6 kB / 1.13 GB, free: 5.082 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.4539, allocations: 0 / 1.13 GB, free: 5.082 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.4553, allocations: 0.5362 MB / 1.131 GB, free: 4.535 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.4553, allocations: 0 / 1.131 GB, free: 4.535 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.003608/0.4589, allocations: 1.182 MB / 1.132 GB, free: 3.348 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4589, allocations: 55.41 kB / 1.132 GB, free: 3.281 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.4598, allocations: 0.5175 MB / 1.133 GB, free: 2.758 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.4599, allocations: 33.7 kB / 1.133 GB, free: 2.719 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.4601, allocations: 204.5 kB / 1.133 GB, free: 2.516 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.4602, allocations: 75.41 kB / 1.133 GB, free: 2.441 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.4604, allocations: 65.66 kB / 1.133 GB, free: 2.371 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4606, allocations: 354.8 kB / 1.133 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4618, allocations: 0.4943 MB / 1.134 GB, free: 1.512 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.4631, allocations: 0.5592 MB / 1.134 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.4651, allocations: 0.7578 MB / 1.135 GB, free: 172 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4651, allocations: 0 / 1.135 GB, free: 172 kB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.8014/1.267, allocations: 1.106 MB / 1.136 GB, free: 58.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/1.267, allocations: 42.38 kB / 1.136 GB, free: 58.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.267, allocations: 0 / 1.136 GB, free: 58.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.267, allocations: 2.938 kB / 1.136 GB, free: 58.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/1.267, allocations: 100.3 kB / 1.136 GB, free: 58.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.267, allocations: 0.9062 kB / 1.136 GB, free: 58.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/1.268, allocations: 64.11 kB / 1.136 GB, free: 58.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/1.268, allocations: 20.62 kB / 1.136 GB, free: 58.59 MB / 1.076 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.0003517/1.268, allocations: 216.8 kB / 1.137 GB, free: 58.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/1.268, allocations: 45.84 kB / 1.137 GB, free: 58.47 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.847e-05/1.268, allocations: 53.69 kB / 1.137 GB, free: 58.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.268, allocations: 2.844 kB / 1.137 GB, free: 58.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.268, allocations: 0 / 1.137 GB, free: 58.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.268, allocations: 0 / 1.137 GB, free: 58.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/1.269, allocations: 0.502 MB / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.269, allocations: 0 / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/1.269, allocations: 94.59 kB / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/1.269, allocations: 3 kB / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/1.269, allocations: 10.16 kB / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.269, allocations: 6.25 kB / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.269, allocations: 6.844 kB / 1.137 GB, free: 58.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.271, allocations: 0.8324 MB / 1.138 GB, free: 58.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/1.272, allocations: 125 kB / 1.138 GB, free: 58.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/1.272, allocations: 9.438 kB / 1.138 GB, free: 58.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/1.272, allocations: 58.02 kB / 1.138 GB, free: 58.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/1.272, allocations: 27.72 kB / 1.138 GB, free: 58.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.272, allocations: 14.98 kB / 1.138 GB, free: 58.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003564/1.273, allocations: 386.2 kB / 1.139 GB, free: 58.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.273, allocations: 0 / 1.139 GB, free: 58.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004058/1.273, allocations: 102.4 kB / 1.139 GB, free: 58.15 MB / 1.076 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.0002576/1.273, allocations: 133.2 kB / 1.139 GB, free: 58.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002053/1.275, allocations: 0.9655 MB / 1.14 GB, free: 57.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.275, allocations: 0 / 1.14 GB, free: 57.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/1.276, allocations: 405.1 kB / 1.14 GB, free: 57.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/1.277, allocations: 94.5 kB / 1.14 GB, free: 57.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/1.279, allocations: 1.076 MB / 1.141 GB, free: 57.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/1.279, allocations: 252.6 kB / 1.142 GB, free: 57.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003741/1.279, allocations: 121.9 kB / 1.142 GB, free: 57.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/1.279, allocations: 41.73 kB / 1.142 GB, free: 57.25 MB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/1.279, allocations: 0 / 1.142 GB, free: 57.25 MB / 1.076 GB Notification: Performance of Templates: time 0.0132/1.293, allocations: 9.406 MB / 1.151 GB, free: 56.27 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.810835506068543]