Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001739/0.001739, allocations: 109 kB / 16.41 MB, free: 6.5 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.002294/0.002295, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.537/1.537, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.842/2.842, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.8731, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005142/0.8783, allocations: 2.894 MB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004117/0.8824, allocations: 2.221 MB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.8826, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008305/0.8835, allocations: 271.1 kB / 1.173 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.8838, allocations: 71.28 kB / 1.173 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.8851, allocations: 491 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.8858, allocations: 0.5141 MB / 1.174 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.8859, allocations: 52.72 kB / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.8862, allocations: 207.3 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.8865, allocations: 211.3 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.8865, allocations: 36 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.887, allocations: 255.7 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.8872, allocations: 155.6 kB / 1.175 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.8875, allocations: 214.9 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.8884, allocations: 0.7591 MB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8884, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8884, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8884, allocations: 7.938 kB / 1.175 GB, free: 11.66 MB / 0.9044 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.001655/0.8901, allocations: 0.8436 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8902, allocations: 16.88 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.8924, allocations: 232.4 kB / 1.177 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.893, allocations: 430.3 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.8932, allocations: 83.94 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.8932, allocations: 12.38 kB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.8947, allocations: 0.5308 MB / 1.178 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8947, allocations: 3.984 kB / 1.178 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.8947, allocations: 8 kB / 1.178 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8947, allocations: 0 / 1.178 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.897, allocations: 0.7572 MB / 1.178 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.8995, allocations: 1.273 MB / 1.18 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/0.905, allocations: 1.017 MB / 1.181 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.9062, allocations: 400.5 kB / 1.181 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.9062, allocations: 8 kB / 1.181 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.9077, allocations: 0.524 MB / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.9077, allocations: 0 / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.003496/0.9112, allocations: 1.178 MB / 1.183 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.9113, allocations: 59.41 kB / 1.183 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.9121, allocations: 0.5252 MB / 1.183 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.9121, allocations: 33.7 kB / 1.183 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.9123, allocations: 200.5 kB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/0.9124, allocations: 75.36 kB / 1.183 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.9126, allocations: 65.66 kB / 1.184 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.9128, allocations: 358.8 kB / 1.184 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.914, allocations: 464.5 kB / 1.184 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.9153, allocations: 0.4934 MB / 1.185 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.9176, allocations: 0.7546 MB / 1.186 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9176, allocations: 0 / 1.186 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002649/0.9202, allocations: 1.08 MB / 1.187 GB, free: 4 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.9203, allocations: 45.69 kB / 1.187 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9203, allocations: 4 kB / 1.187 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9204, allocations: 3.938 kB / 1.187 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.921, allocations: 83.89 kB / 1.187 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.921, allocations: 4 kB / 1.187 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.9216, allocations: 63.81 kB / 1.187 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.9217, allocations: 15.98 kB / 1.187 GB, free: 15.78 MB / 0.92 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.0003536/0.922, allocations: 218.5 kB / 1.187 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.9221, allocations: 47.72 kB / 1.187 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.9222, allocations: 51.84 kB / 1.187 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9223, allocations: 4 kB / 1.187 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9223, allocations: 0 / 1.187 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9223, allocations: 0 / 1.187 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.9233, allocations: 0.6415 MB / 1.188 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9233, allocations: 0 / 1.188 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.924, allocations: 95.83 kB / 1.188 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.924, allocations: 4 kB / 1.188 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.924, allocations: 11.91 kB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.924, allocations: 4 kB / 1.188 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.924, allocations: 4 kB / 1.188 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.9263, allocations: 0.8348 MB / 1.189 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.9266, allocations: 192.7 kB / 1.189 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.9267, allocations: 11.94 kB / 1.189 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.9273, allocations: 59.92 kB / 1.189 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.9274, allocations: 23.97 kB / 1.189 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.9274, allocations: 15.97 kB / 1.189 GB, free: 13.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006448/0.9281, allocations: 391.1 kB / 1.189 GB, free: 13.1 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9281, allocations: 0 / 1.189 GB, free: 13.1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004235/0.9285, allocations: 99.89 kB / 1.189 GB, free: 13 MB / 0.92 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.0003452/0.9289, allocations: 151 kB / 1.19 GB, free: 12.85 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.9315, allocations: 0.9401 MB / 1.19 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9315, allocations: 0 / 1.19 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.9327, allocations: 417.9 kB / 1.191 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.9333, allocations: 100.2 kB / 1.191 GB, free: 11.39 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.9361, allocations: 1.056 MB / 1.192 GB, free: 10.31 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.9369, allocations: 0.8581 MB / 1.193 GB, free: 9.426 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004769/0.9374, allocations: 126.9 kB / 1.193 GB, free: 9.301 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.9376, allocations: 39.39 kB / 1.193 GB, free: 9.262 MB / 0.92 GB Notification: Performance of SimCode: time 1.052e-06/0.9376, allocations: 7.938 kB / 1.193 GB, free: 9.254 MB / 0.92 GB Notification: Performance of Templates: time 0.01882/0.9564, allocations: 8.828 MB / 1.202 GB, free: 0.5156 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches