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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006927/0.006927, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001368/0.001368, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.074/3.074, allocations: 472.6 MB / 0.7453 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4074, allocations: 159.9 MB / 1.226 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005449/0.4129, allocations: 2.893 MB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003886/0.4169, allocations: 2.223 MB / 1.231 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.4172, allocations: 4 kB / 1.231 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4183, allocations: 274.5 kB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.4188, allocations: 79.22 kB / 1.231 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.4205, allocations: 483.8 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.4214, allocations: 0.5141 MB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.4216, allocations: 52.73 kB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.4221, allocations: 203.5 kB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.4226, allocations: 219.2 kB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.4228, allocations: 36 kB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.4236, allocations: 247.7 kB / 1.233 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.4239, allocations: 151.6 kB / 1.233 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.4243, allocations: 210.9 kB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.4256, allocations: 0.7591 MB / 1.234 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4256, allocations: 4 kB / 1.234 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4256, allocations: 3.938 kB / 1.234 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.4257, allocations: 0 / 1.234 GB, free: 0.8945 MB / 0.9825 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.001963/0.4276, allocations: 0.8398 MB / 1.235 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4277, allocations: 16.03 kB / 1.235 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.4299, allocations: 236.3 kB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.4308, allocations: 418.4 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4309, allocations: 83.94 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.431, allocations: 16.38 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.4323, allocations: 0.5301 MB / 1.236 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4324, allocations: 0 / 1.236 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.4324, allocations: 11.94 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4324, allocations: 0 / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.4346, allocations: 0.765 MB / 1.237 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.4373, allocations: 1.265 MB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005182/0.4425, allocations: 1.013 MB / 1.239 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.4437, allocations: 400.6 kB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.4438, allocations: 0 / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.4452, allocations: 0.5359 MB / 1.24 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.4452, allocations: 3.938 kB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003536/0.4487, allocations: 1.175 MB / 1.241 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.4488, allocations: 55.41 kB / 1.241 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.4497, allocations: 0.5213 MB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.4499, allocations: 33.7 kB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4501, allocations: 208.4 kB / 1.242 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.4502, allocations: 71.42 kB / 1.242 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.4504, allocations: 65.66 kB / 1.242 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4506, allocations: 358.7 kB / 1.242 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.4518, allocations: 464.5 kB / 1.243 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.453, allocations: 0.504 MB / 1.243 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.4551, allocations: 0.7519 MB / 1.244 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4551, allocations: 0 / 1.244 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002808/0.4579, allocations: 1.075 MB / 1.245 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.458, allocations: 45.69 kB / 1.245 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.458, allocations: 0 / 1.245 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4581, allocations: 3.938 kB / 1.245 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.4587, allocations: 95.77 kB / 1.245 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.4587, allocations: 4 kB / 1.245 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.4593, allocations: 63.88 kB / 1.245 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-05/0.4594, allocations: 19.98 kB / 1.245 GB, free: 5.023 MB / 0.9981 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.0004369/0.4599, allocations: 206.3 kB / 1.245 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.46, allocations: 43.72 kB / 1.245 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.4602, allocations: 59.84 kB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.4602, allocations: 8 kB / 1.245 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4602, allocations: 3.938 kB / 1.245 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4602, allocations: 0 / 1.245 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/0.4611, allocations: 0.6337 MB / 1.246 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4611, allocations: 0 / 1.246 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.4617, allocations: 91.89 kB / 1.246 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4617, allocations: 0 / 1.246 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4618, allocations: 15.92 kB / 1.246 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.4618, allocations: 4 kB / 1.246 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4618, allocations: 0 / 1.246 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.4641, allocations: 0.8336 MB / 1.247 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.4644, allocations: 196.6 kB / 1.247 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.4645, allocations: 15.92 kB / 1.247 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.4651, allocations: 63.92 kB / 1.247 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.4652, allocations: 19.97 kB / 1.247 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.4653, allocations: 19.98 kB / 1.247 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005142/0.4658, allocations: 387 kB / 1.248 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4658, allocations: 4 kB / 1.248 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005193/0.4663, allocations: 99.89 kB / 1.248 GB, free: 2.25 MB / 0.9981 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.00038/0.4667, allocations: 139.1 kB / 1.248 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.4692, allocations: 0.9423 MB / 1.249 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4692, allocations: 0 / 1.249 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4703, allocations: 419.6 kB / 1.249 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.4708, allocations: 95.34 kB / 1.249 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6237/1.095, allocations: 1.056 MB / 1.25 GB, free: 27.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/1.095, allocations: 0.8559 MB / 1.251 GB, free: 27.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005568/1.096, allocations: 130.7 kB / 1.251 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/1.096, allocations: 42.56 kB / 1.251 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.096, allocations: 1.812 kB / 1.251 GB, free: 27.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.01702/1.113, allocations: 8.838 MB / 1.26 GB, free: 26.75 MB / 0.9981 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