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.006742/0.006742, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001503/0.001503, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 63.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.327, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003786/0.3309, allocations: 2.89 MB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.3338, allocations: 2.219 MB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/0.3339, allocations: 0 / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006797/0.3346, allocations: 270.5 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3347, allocations: 75.28 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3358, allocations: 487.2 kB / 1.214 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.3364, allocations: 0.5181 MB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3365, allocations: 48.72 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.3367, allocations: 203.4 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3369, allocations: 203.3 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.337, allocations: 36 kB / 1.215 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.3374, allocations: 251.7 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3375, allocations: 163.5 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.3377, allocations: 222.9 kB / 1.215 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.3384, allocations: 0.7517 MB / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3384, allocations: 0 / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3384, allocations: 0 / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3385, allocations: 0 / 1.216 GB, free: 1.277 MB / 0.9669 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.001381/0.3398, allocations: 0.836 MB / 1.217 GB, free: 388 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3399, allocations: 8.625 kB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.3421, allocations: 232.1 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.3426, allocations: 430 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3427, allocations: 79.94 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.3428, allocations: 12.38 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.3441, allocations: 0.5333 MB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3441, allocations: 3.938 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.3441, allocations: 8 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3441, allocations: 4 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.3463, allocations: 0.7533 MB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.3486, allocations: 1.261 MB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005485/0.3541, allocations: 1.013 MB / 1.221 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.3552, allocations: 396.6 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3552, allocations: 7.984 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.3565, allocations: 0.5301 MB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.913e-06/0.3566, allocations: 0 / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.003363/0.3599, allocations: 1.186 MB / 1.223 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.36, allocations: 55.41 kB / 1.223 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.3606, allocations: 0.5135 MB / 1.224 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.3607, allocations: 37.7 kB / 1.224 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3608, allocations: 200.4 kB / 1.224 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.3609, allocations: 63.09 kB / 1.224 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3611, allocations: 69.66 kB / 1.224 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3613, allocations: 354.8 kB / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3624, allocations: 468.5 kB / 1.225 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.3636, allocations: 0.4895 MB / 1.225 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.3656, allocations: 0.766 MB / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3657, allocations: 0 / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002552/0.3682, allocations: 1.076 MB / 1.227 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.3683, allocations: 37.69 kB / 1.227 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3683, allocations: 0 / 1.227 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3683, allocations: 7.938 kB / 1.227 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.369, allocations: 95.81 kB / 1.227 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.369, allocations: 8 kB / 1.227 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.3696, allocations: 63.78 kB / 1.227 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.3696, allocations: 19.91 kB / 1.227 GB, free: 5.434 MB / 0.9825 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.0003201/0.37, allocations: 213.8 kB / 1.227 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.3701, allocations: 39.53 kB / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.88e-05/0.3702, allocations: 51.86 kB / 1.227 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3702, allocations: 4 kB / 1.227 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3702, allocations: 0 / 1.227 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3702, allocations: 3.984 kB / 1.227 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.3709, allocations: 0.6536 MB / 1.228 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3709, allocations: 0 / 1.228 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.3715, allocations: 91.83 kB / 1.228 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3716, allocations: 0 / 1.228 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.3716, allocations: 15.92 kB / 1.228 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3716, allocations: 3.984 kB / 1.228 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3716, allocations: 0 / 1.228 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.3738, allocations: 0.8381 MB / 1.229 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.3741, allocations: 188.5 kB / 1.229 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.3742, allocations: 7.875 kB / 1.229 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.3748, allocations: 67.91 kB / 1.229 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3749, allocations: 31.91 kB / 1.229 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.375, allocations: 7.984 kB / 1.229 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000505/0.3755, allocations: 391.1 kB / 1.23 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 0 / 1.23 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005078/0.376, allocations: 103.9 kB / 1.23 GB, free: 2.645 MB / 0.9825 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.0003677/0.3764, allocations: 131.2 kB / 1.23 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.3788, allocations: 0.944 MB / 1.231 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3788, allocations: 0 / 1.231 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.3799, allocations: 429.5 kB / 1.231 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.3804, allocations: 94.88 kB / 1.231 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3829, allocations: 1.056 MB / 1.232 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.3833, allocations: 0.854 MB / 1.233 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004784/0.3838, allocations: 130.9 kB / 1.233 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.384, allocations: 43.41 kB / 1.233 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.384, allocations: 0 / 1.233 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.01461/0.3986, allocations: 8.827 MB / 1.242 GB, free: 6.188 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