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.00619/0.00619, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001433/0.001434, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.313, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004434/0.3174, allocations: 2.894 MB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003493/0.3209, allocations: 2.212 MB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.3211, allocations: 4 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.322, allocations: 270.4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3222, allocations: 79.28 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3235, allocations: 483.4 kB / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.3243, allocations: 0.5064 MB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3244, allocations: 48.72 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.3247, allocations: 211.3 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.325, allocations: 203.3 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3252, allocations: 40 kB / 1.215 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.3256, allocations: 243.7 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3258, allocations: 163.6 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.326, allocations: 218.8 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007819/0.3268, allocations: 0.7633 MB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3268, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3269, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.3269, allocations: 0 / 1.216 GB, free: 1.289 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.001852/0.3287, allocations: 0.836 MB / 1.217 GB, free: 400 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3288, allocations: 8.625 kB / 1.217 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.331, allocations: 232.1 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.3318, allocations: 422 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.332, allocations: 83.95 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.332, allocations: 16.36 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.3334, allocations: 0.5294 MB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3334, allocations: 4 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.3334, allocations: 4 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.3335, allocations: 8 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.3357, allocations: 0.7611 MB / 1.219 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.3382, allocations: 1.265 MB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005491/0.3437, allocations: 1.01 MB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.3448, allocations: 404.5 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.3449, allocations: 3.984 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.3462, allocations: 0.534 MB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.3462, allocations: 0 / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.003396/0.3496, allocations: 1.174 MB / 1.223 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3497, allocations: 63.33 kB / 1.223 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.3503, allocations: 0.5214 MB / 1.224 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.3504, allocations: 33.7 kB / 1.224 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3505, allocations: 200.4 kB / 1.224 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.3506, allocations: 67.09 kB / 1.224 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3508, allocations: 65.66 kB / 1.224 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3509, allocations: 358.8 kB / 1.224 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.3521, allocations: 464.5 kB / 1.225 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.3533, allocations: 0.4935 MB / 1.225 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.3554, allocations: 0.762 MB / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3554, allocations: 0 / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002717/0.3581, allocations: 1.072 MB / 1.227 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.3582, allocations: 41.69 kB / 1.227 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3582, allocations: 4 kB / 1.227 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3582, allocations: 3.938 kB / 1.227 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.3588, allocations: 95.88 kB / 1.227 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3589, allocations: 0 / 1.227 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.3594, allocations: 59.78 kB / 1.227 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.3595, allocations: 15.98 kB / 1.227 GB, free: 5.449 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.0002637/0.3598, allocations: 217.6 kB / 1.227 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.3599, allocations: 47.52 kB / 1.227 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.36, allocations: 55.86 kB / 1.227 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.36, allocations: 0 / 1.227 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.36, allocations: 0 / 1.227 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.36, allocations: 0 / 1.227 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.3608, allocations: 0.6458 MB / 1.228 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3608, allocations: 0 / 1.228 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.3614, allocations: 99.81 kB / 1.228 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3615, allocations: 0 / 1.228 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.3615, allocations: 15.92 kB / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3615, allocations: 0 / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3615, allocations: 0 / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.3637, allocations: 0.8342 MB / 1.229 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.364, allocations: 184.5 kB / 1.229 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.3641, allocations: 15.94 kB / 1.229 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.3646, allocations: 59.92 kB / 1.229 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.3647, allocations: 35.89 kB / 1.229 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.3648, allocations: 11.98 kB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003962/0.3652, allocations: 387.1 kB / 1.23 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 1.23 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004238/0.3656, allocations: 103.9 kB / 1.23 GB, free: 2.66 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.0002578/0.3659, allocations: 147.1 kB / 1.23 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.3683, allocations: 0.9401 MB / 1.231 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3683, allocations: 0 / 1.231 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.3694, allocations: 423.6 kB / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3699, allocations: 87.53 kB / 1.231 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3722, allocations: 1.052 MB / 1.232 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.3726, allocations: 0.854 MB / 1.233 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.3731, allocations: 134.9 kB / 1.233 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3733, allocations: 51.34 kB / 1.233 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3733, allocations: 0 / 1.233 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.01477/0.3881, allocations: 9.012 MB / 1.242 GB, free: 6.008 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