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.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001805, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.7 MB / 0.7452 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 74.61 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3276, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005227/0.3329, allocations: 2.877 MB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004062/0.337, allocations: 2.235 MB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.3373, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3383, allocations: 266.8 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3387, allocations: 79.3 kB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.3403, allocations: 474.2 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009932/0.3413, allocations: 0.5142 MB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3415, allocations: 52.72 kB / 1.075 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.342, allocations: 199.5 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.3426, allocations: 215.3 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.3428, allocations: 36 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/0.3436, allocations: 243.7 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.344, allocations: 167.5 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.3444, allocations: 218.9 kB / 1.076 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.3457, allocations: 0.74 MB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.3457, allocations: 0 / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.621e-06/0.3457, allocations: 0 / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.633e-05/0.3458, allocations: 3.938 kB / 1.076 GB, free: 2.043 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.002637/0.3484, allocations: 0.836 MB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.3485, allocations: 8.031 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.3508, allocations: 236.1 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.3518, allocations: 422 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.352, allocations: 79.94 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.352, allocations: 12.38 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.3535, allocations: 0.5301 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3535, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.3536, allocations: 7.984 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3536, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.3558, allocations: 0.7611 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.3588, allocations: 1.273 MB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005437/0.3642, allocations: 1.023 MB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.3653, allocations: 400.5 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3653, allocations: 4 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.3666, allocations: 0.531 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 3.045e-06/0.3666, allocations: 0 / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.003327/0.3699, allocations: 1.182 MB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.37, allocations: 59.34 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/0.3707, allocations: 0.5213 MB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.3708, allocations: 33.7 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3709, allocations: 196.4 kB / 1.084 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.371, allocations: 67.09 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3712, allocations: 69.66 kB / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3714, allocations: 354.8 kB / 1.085 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.3725, allocations: 468.5 kB / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.3737, allocations: 0.4958 MB / 1.086 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.3757, allocations: 0.7543 MB / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3757, allocations: 0 / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002608/0.3783, allocations: 1.08 MB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.3783, allocations: 45.69 kB / 1.087 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3784, allocations: 0 / 1.087 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3784, allocations: 3.938 kB / 1.087 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.379, allocations: 87.89 kB / 1.088 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.379, allocations: 0 / 1.088 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.3796, allocations: 67.8 kB / 1.088 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.3797, allocations: 15.92 kB / 1.088 GB, free: 6.191 MB / 0.8419 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.0003547/0.38, allocations: 224.7 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3802, allocations: 43.44 kB / 1.088 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3803, allocations: 55.84 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3804, allocations: 0 / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3804, allocations: 0 / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3804, allocations: 0 / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.3811, allocations: 0.6414 MB / 1.089 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3811, allocations: 4 kB / 1.089 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.3817, allocations: 95.83 kB / 1.089 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3817, allocations: 0 / 1.089 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3818, allocations: 19.91 kB / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3818, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3818, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.384, allocations: 0.8359 MB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.3843, allocations: 184.5 kB / 1.09 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.3844, allocations: 11.94 kB / 1.09 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.385, allocations: 55.92 kB / 1.09 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.3851, allocations: 27.97 kB / 1.09 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.3852, allocations: 15.97 kB / 1.09 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004625/0.3856, allocations: 387.1 kB / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3857, allocations: 0 / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004542/0.3861, allocations: 96 kB / 1.09 GB, free: 3.422 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.0003245/0.3864, allocations: 155.5 kB / 1.09 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.389, allocations: 0.9616 MB / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.389, allocations: 0 / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.3902, allocations: 415.6 kB / 1.092 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3907, allocations: 97.83 kB / 1.092 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.3932, allocations: 1.06 MB / 1.093 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.3938, allocations: 0.8618 MB / 1.094 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000564/0.3944, allocations: 130.9 kB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3946, allocations: 43.41 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/0.3946, allocations: 0 / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Templates: time 0.01652/0.4111, allocations: 8.793 MB / 1.102 GB, free: 6.973 MB / 0.8575 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