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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 83.81 kB / 19.76 MB, free: 2.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 154 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 67.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9163, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003942/0.9203, allocations: 2.707 MB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.9232, allocations: 2.076 MB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.9234, allocations: 2.656 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.9242, allocations: 234 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.9244, allocations: 74.83 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.9256, allocations: 493.9 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.9262, allocations: 0.5125 MB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.9263, allocations: 31.62 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.9266, allocations: 208.5 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.9268, allocations: 199.5 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.9269, allocations: 40.41 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.9275, allocations: 274.8 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.9277, allocations: 162.2 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.9279, allocations: 173 kB / 1.194 GB, free: 12.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.9288, allocations: 0.7568 MB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9288, allocations: 0 / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9289, allocations: 0 / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.9289, allocations: 0 / 1.194 GB, free: 11.79 MB / 1.076 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.001363/0.9302, allocations: 0.7719 MB / 1.195 GB, free: 11.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.9303, allocations: 9.438 kB / 1.195 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.933, allocations: 274.5 kB / 1.195 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.9336, allocations: 382.8 kB / 1.196 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.9337, allocations: 139.1 kB / 1.196 GB, free: 10.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.9338, allocations: 14.62 kB / 1.196 GB, free: 10.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.9351, allocations: 0.5619 MB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9351, allocations: 1.25 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.9352, allocations: 5.891 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.9352, allocations: 2.188 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.9374, allocations: 0.7995 MB / 1.197 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.9398, allocations: 1.162 MB / 1.198 GB, free: 9.875 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/0.9454, allocations: 1.034 MB / 1.199 GB, free: 9.652 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.9466, allocations: 408 kB / 1.2 GB, free: 9.539 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.9466, allocations: 6.438 kB / 1.2 GB, free: 9.535 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/0.948, allocations: 0.5505 MB / 1.2 GB, free: 9.363 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/0.948, allocations: 0 / 1.2 GB, free: 9.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.003578/0.9515, allocations: 1.248 MB / 1.202 GB, free: 9.004 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9516, allocations: 55.59 kB / 1.202 GB, free: 8.941 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.9523, allocations: 0.5264 MB / 1.202 GB, free: 8.703 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.9524, allocations: 34.28 kB / 1.202 GB, free: 8.668 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.9526, allocations: 196.1 kB / 1.202 GB, free: 8.508 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.138e-05/0.9526, allocations: 77.34 kB / 1.202 GB, free: 8.445 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.9528, allocations: 74.27 kB / 1.202 GB, free: 8.414 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.9529, allocations: 354.2 kB / 1.203 GB, free: 8.086 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.9541, allocations: 0.5135 MB / 1.203 GB, free: 7.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9552, allocations: 0.5771 MB / 1.204 GB, free: 7.703 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.9573, allocations: 0.7964 MB / 1.205 GB, free: 7.465 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9573, allocations: 0 / 1.205 GB, free: 7.465 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002685/0.96, allocations: 1.165 MB / 1.206 GB, free: 7.078 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.9601, allocations: 45.58 kB / 1.206 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9601, allocations: 1.344 kB / 1.206 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.9601, allocations: 4.5 kB / 1.206 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/0.9608, allocations: 97.72 kB / 1.206 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.9609, allocations: 0 / 1.206 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.9615, allocations: 63.8 kB / 1.206 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.9616, allocations: 16.55 kB / 1.206 GB, free: 7.02 MB / 1.076 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.0003397/0.9619, allocations: 220.1 kB / 1.206 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.962, allocations: 49.12 kB / 1.206 GB, free: 6.836 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.9621, allocations: 48.05 kB / 1.206 GB, free: 6.812 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.9621, allocations: 8.594 kB / 1.206 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9621, allocations: 1.25 kB / 1.206 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.9621, allocations: 0 / 1.206 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.9627, allocations: 0.5182 MB / 1.207 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9627, allocations: 0 / 1.207 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.9634, allocations: 94.42 kB / 1.207 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9634, allocations: 5.125 kB / 1.207 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.9634, allocations: 14.58 kB / 1.207 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9634, allocations: 4 kB / 1.207 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9634, allocations: 8.781 kB / 1.207 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.9657, allocations: 0.8783 MB / 1.208 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.9659, allocations: 124.3 kB / 1.208 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.966, allocations: 8.312 kB / 1.208 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.9666, allocations: 65.33 kB / 1.208 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.9667, allocations: 26.42 kB / 1.208 GB, free: 6.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.9668, allocations: 17.78 kB / 1.208 GB, free: 6.145 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004508/0.9672, allocations: 390.9 kB / 1.208 GB, free: 5.969 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9672, allocations: 1.094 kB / 1.208 GB, free: 5.969 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005015/0.9677, allocations: 96.81 kB / 1.208 GB, free: 5.961 MB / 1.076 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.0002317/0.968, allocations: 132.7 kB / 1.209 GB, free: 5.859 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.9704, allocations: 1.012 MB / 1.21 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9704, allocations: 1.281 kB / 1.21 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.9715, allocations: 432.6 kB / 1.21 GB, free: 5.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.972, allocations: 94.23 kB / 1.21 GB, free: 5.371 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.9745, allocations: 1.086 MB / 1.211 GB, free: 4.898 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.9747, allocations: 253.8 kB / 1.211 GB, free: 4.785 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005296/0.9753, allocations: 142.2 kB / 1.212 GB, free: 4.742 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.9755, allocations: 47.75 kB / 1.212 GB, free: 4.73 MB / 1.076 GB Notification: Performance of SimCode: time 9.21e-07/0.9755, allocations: 3.938 kB / 1.212 GB, free: 4.727 MB / 1.076 GB Notification: Performance of Templates: time 0.01814/0.9936, allocations: 9.633 MB / 1.221 GB, free: 3.105 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.095455843023956]