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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001392/0.001392, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001173/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.009/3.009, allocations: 462.6 MB / 0.736 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 9.219 kB / 0.9021 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4251, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003574/0.4288, allocations: 2.453 MB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.4322, allocations: 2.054 MB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.4324, allocations: 0 / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008321/0.4332, allocations: 230.9 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.4334, allocations: 71.41 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4346, allocations: 418.2 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.4352, allocations: 439.4 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4353, allocations: 45 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.4356, allocations: 183.5 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.4358, allocations: 191.3 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.4359, allocations: 24 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.4363, allocations: 219.7 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.4365, allocations: 143.6 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.4366, allocations: 93.45 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.4373, allocations: 0.5804 MB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4373, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4373, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4374, allocations: 4 kB / 1.065 GB, free: 14.13 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.001507/0.4389, allocations: 0.7661 MB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4389, allocations: 8.031 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4408, allocations: 243.2 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.4415, allocations: 409.1 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.4416, allocations: 83.38 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.4417, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4429, allocations: 0.5573 MB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4429, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.443, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.443, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.445, allocations: 0.8119 MB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.4475, allocations: 1.281 MB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.4523, allocations: 1.091 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.4532, allocations: 428.6 kB / 1.071 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.4533, allocations: 11.97 kB / 1.071 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.4545, allocations: 0.5598 MB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.4545, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003138/0.4576, allocations: 1.259 MB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.4577, allocations: 55.41 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.4584, allocations: 0.5135 MB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.4585, allocations: 33.7 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.4588, allocations: 204.4 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.77e-05/0.4589, allocations: 63.09 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.4589, allocations: 4 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002787/0.4592, allocations: 363.1 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4602, allocations: 496.5 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.4614, allocations: 0.513 MB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4624, allocations: 470.7 kB / 1.075 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4624, allocations: 3.938 kB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00242/0.4648, allocations: 1.131 MB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.4649, allocations: 37.69 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4649, allocations: 4 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.4649, allocations: 0 / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.4655, allocations: 111.8 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4656, allocations: 0 / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.466, allocations: 79.77 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.4661, allocations: 15.98 kB / 1.076 GB, free: 2.301 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.4666, allocations: 215.5 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.4666, allocations: 43.53 kB / 1.077 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.4668, allocations: 51.91 kB / 1.077 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.4668, allocations: 4 kB / 1.077 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4668, allocations: 4 kB / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4668, allocations: 0 / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008079/0.4676, allocations: 0.6415 MB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4676, allocations: 0 / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.4682, allocations: 99.89 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4682, allocations: 8 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.4682, allocations: 11.97 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4682, allocations: 4 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4683, allocations: 0 / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.4703, allocations: 0.8983 MB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.4706, allocations: 180.5 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.4707, allocations: 4 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.4712, allocations: 83.92 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.4713, allocations: 27.95 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.4714, allocations: 15.92 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004859/0.4718, allocations: 387.1 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4719, allocations: 0 / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005126/0.4724, allocations: 107.8 kB / 1.079 GB, free: 15.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.4727, allocations: 135.1 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.475, allocations: 0.9893 MB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.475, allocations: 0 / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.476, allocations: 455.6 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.4765, allocations: 96.64 kB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.4791, allocations: 1.147 MB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.4795, allocations: 0.8547 MB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005595/0.4801, allocations: 126.9 kB / 1.083 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4803, allocations: 35.41 kB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of SimCode: time 8.81e-07/0.4803, allocations: 0 / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.01595/0.4963, allocations: 7.921 MB / 1.09 GB, free: 3.754 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