Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002613/0.002613, allocations: 191.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.011/2.011, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.949/2.949, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8274, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004571/0.832, allocations: 2.923 MB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.8355, allocations: 2.243 MB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.8357, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.8365, allocations: 266.4 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.8366, allocations: 75.22 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.8379, allocations: 482.8 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006597/0.8386, allocations: 0.5102 MB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.8387, allocations: 32.72 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.8389, allocations: 203.4 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.8392, allocations: 227.2 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.027e-05/0.8393, allocations: 36 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.8398, allocations: 259.6 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.84, allocations: 163.5 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.8402, allocations: 210.9 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009257/0.8412, allocations: 0.7541 MB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8412, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8412, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.8412, allocations: 4 kB / 1.282 GB, free: 12.02 MB / 0.9825 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.001583/0.8428, allocations: 0.8512 MB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8428, allocations: 12.03 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.8451, allocations: 236.4 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.8457, allocations: 422.4 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.8459, allocations: 91.88 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.8459, allocations: 8.375 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.8474, allocations: 0.5338 MB / 1.284 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8474, allocations: 0 / 1.284 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.8474, allocations: 8 kB / 1.284 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.8474, allocations: 0 / 1.284 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.8496, allocations: 0.765 MB / 1.285 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.8523, allocations: 1.269 MB / 1.286 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005695/0.858, allocations: 0.9938 MB / 1.287 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.8591, allocations: 384.6 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.8591, allocations: 7.984 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.8605, allocations: 0.5301 MB / 1.288 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.8605, allocations: 0 / 1.288 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.003567/0.864, allocations: 1.187 MB / 1.289 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.8641, allocations: 55.41 kB / 1.289 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/0.8648, allocations: 0.5175 MB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/0.8649, allocations: 37.69 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.8651, allocations: 196.5 kB / 1.29 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.8651, allocations: 67.44 kB / 1.29 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.8653, allocations: 69.66 kB / 1.29 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.8655, allocations: 354.8 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.8667, allocations: 464.5 kB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.868, allocations: 0.4972 MB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.8702, allocations: 0.7576 MB / 1.292 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8702, allocations: 0 / 1.292 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002775/0.8729, allocations: 1.08 MB / 1.293 GB, free: 404 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.873, allocations: 41.69 kB / 1.293 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.873, allocations: 0 / 1.293 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.873, allocations: 3.938 kB / 1.293 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.8737, allocations: 103.8 kB / 1.293 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.8737, allocations: 0 / 1.293 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.8743, allocations: 63.83 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.8743, allocations: 15.97 kB / 1.294 GB, free: 168 kB / 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.0003451/0.8747, allocations: 213.8 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.8748, allocations: 43.72 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.8749, allocations: 51.86 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8749, allocations: 0 / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.8749, allocations: 7.969 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8749, allocations: 0 / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007891/0.8757, allocations: 0.6567 MB / 1.294 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8757, allocations: 7.938 kB / 1.294 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.8763, allocations: 83.89 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8763, allocations: 0 / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.8764, allocations: 19.92 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.8764, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8764, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.8787, allocations: 0.8422 MB / 1.295 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.8791, allocations: 188.7 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.8791, allocations: 11.92 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.8798, allocations: 59.92 kB / 1.296 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.8799, allocations: 27.97 kB / 1.296 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.8799, allocations: 7.984 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004825/0.8804, allocations: 391.1 kB / 1.296 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8804, allocations: 0 / 1.296 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004362/0.8808, allocations: 107.8 kB / 1.296 GB, free: 13.38 MB / 0.9981 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.0002906/0.8811, allocations: 147.2 kB / 1.296 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.8836, allocations: 0.9205 MB / 1.297 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8836, allocations: 0 / 1.297 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.8848, allocations: 413.7 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.8853, allocations: 90.59 kB / 1.298 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.8879, allocations: 1.081 MB / 1.299 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.8884, allocations: 0.8579 MB / 1.3 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004541/0.8889, allocations: 130.8 kB / 1.3 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.8891, allocations: 43.41 kB / 1.3 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8891, allocations: 0 / 1.3 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of Templates: time 0.01634/0.9054, allocations: 8.932 MB / 1.308 GB, free: 0.8047 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.75657364865765]