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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001566/0.001566, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.12 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4001, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.0044/0.4046, allocations: 2.931 MB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.4079, allocations: 2.226 MB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.408, allocations: 3.938 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008146/0.4088, allocations: 251 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.409, allocations: 75.41 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009796/0.41, allocations: 436.2 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004939/0.4105, allocations: 498.5 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4106, allocations: 48.72 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.4108, allocations: 183.4 kB / 1.059 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.4111, allocations: 207.2 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.4111, allocations: 24 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.4115, allocations: 227.7 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.4117, allocations: 147.6 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.4119, allocations: 202.9 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.4126, allocations: 0.7322 MB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4127, allocations: 0 / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.647e-06/0.4127, allocations: 4 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4127, allocations: 3.938 kB / 1.06 GB, free: 0.6758 MB / 0.8106 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.00139/0.4141, allocations: 0.8321 MB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4141, allocations: 12.03 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.4162, allocations: 228.2 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.4168, allocations: 421.9 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.4169, allocations: 91.94 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.417, allocations: 12.38 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4182, allocations: 0.5301 MB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4182, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.4183, allocations: 4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4183, allocations: 3.938 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.4203, allocations: 0.765 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.4225, allocations: 1.269 MB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.4276, allocations: 1.009 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/0.4285, allocations: 396.6 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.4286, allocations: 4 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.4297, allocations: 0.534 MB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 3.797e-06/0.4297, allocations: 4 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003021/0.4328, allocations: 1.178 MB / 1.067 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.4328, allocations: 55.41 kB / 1.067 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.4334, allocations: 0.5214 MB / 1.068 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.4335, allocations: 37.69 kB / 1.068 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.4337, allocations: 196.5 kB / 1.068 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.4337, allocations: 63.02 kB / 1.068 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4339, allocations: 65.66 kB / 1.068 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.434, allocations: 358.8 kB / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.4351, allocations: 468.5 kB / 1.069 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.4362, allocations: 0.4973 MB / 1.069 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.438, allocations: 0.7587 MB / 1.07 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.438, allocations: 0 / 1.07 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002257/0.4402, allocations: 1.078 MB / 1.071 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.704e-05/0.4403, allocations: 39.41 kB / 1.071 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4403, allocations: 4 kB / 1.071 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4403, allocations: 3.938 kB / 1.071 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.4409, allocations: 91.83 kB / 1.071 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.441, allocations: 4 kB / 1.071 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.4415, allocations: 63.78 kB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.4415, allocations: 15.97 kB / 1.071 GB, free: 4.84 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.0003058/0.4418, allocations: 213.8 kB / 1.072 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.4419, allocations: 43.44 kB / 1.072 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.442, allocations: 55.84 kB / 1.072 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4421, allocations: 4 kB / 1.072 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4421, allocations: 0 / 1.072 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4421, allocations: 3.938 kB / 1.072 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.4428, allocations: 0.6455 MB / 1.072 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4428, allocations: 0 / 1.072 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.4434, allocations: 87.89 kB / 1.072 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4434, allocations: 4 kB / 1.072 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.4434, allocations: 15.92 kB / 1.072 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4434, allocations: 0 / 1.072 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4434, allocations: 4 kB / 1.072 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.4454, allocations: 0.8303 MB / 1.073 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.4457, allocations: 188.5 kB / 1.073 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.4458, allocations: 15.92 kB / 1.073 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.4463, allocations: 67.86 kB / 1.073 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.4464, allocations: 19.97 kB / 1.073 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.4465, allocations: 15.97 kB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004358/0.4469, allocations: 391.1 kB / 1.074 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4469, allocations: 0 / 1.074 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004118/0.4473, allocations: 96 kB / 1.074 GB, free: 2.062 MB / 0.8262 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.0003207/0.4477, allocations: 143.1 kB / 1.074 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.4498, allocations: 0.936 MB / 1.075 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4498, allocations: 8 kB / 1.075 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/0.4508, allocations: 415.6 kB / 1.075 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.4513, allocations: 96.02 kB / 1.076 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.4539, allocations: 1.154 MB / 1.077 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.4543, allocations: 0.8583 MB / 1.077 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005316/0.4548, allocations: 138.9 kB / 1.078 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.455, allocations: 39.41 kB / 1.078 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of SimCode: time 1.844e-06/0.455, allocations: 0 / 1.078 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of Templates: time 0.01604/0.4711, allocations: 8.257 MB / 1.086 GB, free: 6.078 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