Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002693/0.002693, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.00312/0.00312, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.087/3.087, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.907e-05/4.141e-05, allocations: 4.984 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.008453/0.008495, allocations: 2.884 MB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006779/0.01527, allocations: 2.214 MB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.01548, allocations: 4 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.01648, allocations: 236.5 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.01669, allocations: 89.66 kB / 0.8161 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.018, allocations: 485.7 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.01874, allocations: 0.5185 MB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.01886, allocations: 32.86 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.01923, allocations: 264.6 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.01955, allocations: 187.6 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.01965, allocations: 39.94 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.02025, allocations: 268.7 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.02049, allocations: 163.5 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.02071, allocations: 136.3 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.02191, allocations: 0.8101 MB / 0.8189 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.02192, allocations: 0.6562 kB / 0.8189 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.02192, allocations: 0 / 0.8189 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.02193, allocations: 0.8438 kB / 0.8189 GB, free: 9.777 MB / 0.7761 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.001715/0.02364, allocations: 0.8814 MB / 0.8198 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.02368, allocations: 12.03 kB / 0.8198 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.02568, allocations: 216.1 kB / 0.82 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.02645, allocations: 346.6 kB / 0.8203 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.02663, allocations: 139.3 kB / 0.8205 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.02669, allocations: 12.38 kB / 0.8205 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/0.02762, allocations: 300.3 kB / 0.8208 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.02763, allocations: 4.125 kB / 0.8208 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.02767, allocations: 12.12 kB / 0.8208 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.02768, allocations: 0 / 0.8208 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.02897, allocations: 340.9 kB / 0.8211 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.0312, allocations: 0.8779 MB / 0.822 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.03552, allocations: 0.5766 MB / 0.8225 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.03616, allocations: 172.8 kB / 0.8227 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.03619, allocations: 11.98 kB / 0.8227 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000906/0.03709, allocations: 306.6 kB / 0.823 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.0371, allocations: 4 kB / 0.823 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.002248/0.03934, allocations: 0.589 MB / 0.8236 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.0394, allocations: 59.34 kB / 0.8236 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.04046, allocations: 0.5925 MB / 0.8242 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.04052, allocations: 33.7 kB / 0.8243 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.04082, allocations: 291.2 kB / 0.8245 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.04091, allocations: 71.44 kB / 0.8246 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.0411, allocations: 75.31 kB / 0.8247 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003778/0.04148, allocations: 0.5743 MB / 0.8252 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.04224, allocations: 245.5 kB / 0.8255 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.04309, allocations: 347.7 kB / 0.8258 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.04441, allocations: 406.5 kB / 0.8262 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.04442, allocations: 0 / 0.8262 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001896/0.04631, allocations: 0.6887 MB / 0.8269 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.04637, allocations: 37.7 kB / 0.8269 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.04638, allocations: 7.984 kB / 0.8269 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.04639, allocations: 4 kB / 0.8269 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.04691, allocations: 67.81 kB / 0.827 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.04692, allocations: 0 / 0.827 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.04732, allocations: 47.8 kB / 0.827 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.04737, allocations: 11.98 kB / 0.827 GB, free: 1.227 MB / 0.7761 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0002541/0.04763, allocations: 200.5 kB / 0.8272 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.04776, allocations: 51.72 kB / 0.8273 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.04785, allocations: 44.02 kB / 0.8273 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.04786, allocations: 0 / 0.8273 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.04786, allocations: 0 / 0.8273 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.04787, allocations: 3.984 kB / 0.8273 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.04852, allocations: 447.9 kB / 0.8277 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.04852, allocations: 4 kB / 0.8277 GB, free: 456 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.04901, allocations: 71.86 kB / 0.8278 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.04902, allocations: 4 kB / 0.8278 GB, free: 380 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.04905, allocations: 3.984 kB / 0.8278 GB, free: 376 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.04905, allocations: 4 kB / 0.8278 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.04906, allocations: 0 / 0.8278 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.05059, allocations: 494.2 kB / 0.8283 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.05089, allocations: 107.6 kB / 0.8284 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.05097, allocations: 7.984 kB / 0.8284 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.05139, allocations: 35.97 kB / 0.8284 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.05149, allocations: 27.95 kB / 0.8285 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.05154, allocations: 15.98 kB / 0.8285 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004919/0.05203, allocations: 375 kB / 0.8288 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.05203, allocations: 0 / 0.8288 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004367/0.05247, allocations: 99.94 kB / 0.8289 GB, free: 15.2 MB / 0.7917 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0003277/0.05279, allocations: 143.1 kB / 0.8291 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.05444, allocations: 0.533 MB / 0.8296 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.05445, allocations: 0 / 0.8296 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.05519, allocations: 217.4 kB / 0.8298 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.05572, allocations: 125.7 kB / 0.8299 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.05803, allocations: 0.7737 MB / 0.8307 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.05831, allocations: 229 kB / 0.8309 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004367/0.05875, allocations: 106.9 kB / 0.831 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.05894, allocations: 44.47 kB / 0.831 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of SimCode: time 7.71e-07/0.05894, allocations: 0 / 0.831 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of Templates: time 0.0183/0.07724, allocations: 9.335 MB / 0.8402 GB, free: 3.781 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.80431833001785]