Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009387/0.009387, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.865/2.865, allocations: 462.7 MB / 0.7364 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 9 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4206, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003515/0.4241, allocations: 2.565 MB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.4276, allocations: 2.189 MB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.4278, allocations: 4 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.4286, allocations: 255 kB / 1.064 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.4289, allocations: 67.41 kB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.4299, allocations: 437.2 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.4305, allocations: 0.4907 MB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.4306, allocations: 40.73 kB / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.4308, allocations: 183.4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.4311, allocations: 203.3 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.4312, allocations: 20 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.4316, allocations: 223.7 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.4318, allocations: 147.6 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.4321, allocations: 236.6 kB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.4328, allocations: 0.7087 MB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4329, allocations: 7.922 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.238e-06/0.4329, allocations: 4 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4329, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 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.001565/0.4345, allocations: 0.7623 MB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.4345, allocations: 12.03 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.4368, allocations: 248.1 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.4375, allocations: 418 kB / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.4376, allocations: 91.94 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.4377, allocations: 12.36 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.4393, allocations: 0.5613 MB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4394, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.4394, allocations: 4 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4394, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.4418, allocations: 0.8197 MB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.4445, allocations: 1.277 MB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/0.4504, allocations: 1.088 MB / 1.071 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.4517, allocations: 428.6 kB / 1.072 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4517, allocations: 0 / 1.072 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.4531, allocations: 0.5691 MB / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/0.4531, allocations: 0 / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003527/0.4566, allocations: 1.256 MB / 1.074 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4567, allocations: 55.41 kB / 1.074 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.4574, allocations: 0.5175 MB / 1.074 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.4575, allocations: 41.69 kB / 1.074 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.4576, allocations: 204.4 kB / 1.074 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/0.4577, allocations: 59.11 kB / 1.074 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.4578, allocations: 25.7 kB / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.458, allocations: 354.8 kB / 1.075 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4592, allocations: 496.5 kB / 1.075 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.4605, allocations: 0.5208 MB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.4626, allocations: 0.8168 MB / 1.077 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4626, allocations: 0 / 1.077 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00278/0.4654, allocations: 1.136 MB / 1.078 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.4655, allocations: 37.69 kB / 1.078 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4655, allocations: 0 / 1.078 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.4656, allocations: 7.938 kB / 1.078 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.4662, allocations: 107.8 kB / 1.078 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4662, allocations: 0 / 1.078 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.4669, allocations: 71.88 kB / 1.078 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.4669, allocations: 19.97 kB / 1.078 GB, free: 1.512 MB / 0.8262 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.000459/0.4674, allocations: 217.7 kB / 1.078 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.4675, allocations: 43.44 kB / 1.078 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.4676, allocations: 51.92 kB / 1.078 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4676, allocations: 11.86 kB / 1.078 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.4677, allocations: 4 kB / 1.078 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4677, allocations: 0 / 1.078 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008076/0.4685, allocations: 0.6416 MB / 1.079 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4685, allocations: 0 / 1.079 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.4691, allocations: 103.9 kB / 1.079 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4691, allocations: 0 / 1.079 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.4692, allocations: 15.92 kB / 1.079 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4692, allocations: 4 kB / 1.079 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4692, allocations: 0 / 1.079 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.4717, allocations: 0.8963 MB / 1.08 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.472, allocations: 184.5 kB / 1.08 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.4721, allocations: 15.92 kB / 1.08 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.4727, allocations: 75.92 kB / 1.08 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4728, allocations: 23.97 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.4728, allocations: 15.98 kB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005097/0.4733, allocations: 387 kB / 1.081 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4733, allocations: 4 kB / 1.081 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004543/0.4738, allocations: 96 kB / 1.081 GB, free: 14.64 MB / 0.8419 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.000353/0.4742, allocations: 138.4 kB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002617/0.4768, allocations: 0.9985 MB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4768, allocations: 3.938 kB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4779, allocations: 449.7 kB / 1.082 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.4785, allocations: 89.8 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.481, allocations: 1.181 MB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.4815, allocations: 0.8586 MB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005593/0.4821, allocations: 134.9 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.4823, allocations: 39.39 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of SimCode: time 1.283e-06/0.4823, allocations: 0 / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.01493/0.4972, allocations: 8.162 MB / 1.092 GB, free: 2.652 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches