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.002004/0.002004, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002303/0.002303, allocations: 203.9 kB / 23 MB, free: 4.934 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.516/3.516, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002069/0.002069, allocations: 62.06 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.489, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004938/0.494, allocations: 2.703 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00375/0.4977, allocations: 2.083 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.4979, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.4987, allocations: 230.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.4989, allocations: 79.28 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.5003, allocations: 0.4909 MB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007746/0.5011, allocations: 0.5064 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.5013, allocations: 36.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.5016, allocations: 207.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.5019, allocations: 215.3 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.322e-05/0.502, allocations: 36 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.5026, allocations: 283.6 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.5028, allocations: 159.5 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.503, allocations: 175.2 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.504, allocations: 0.7591 MB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.504, allocations: 3.938 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.504, allocations: 0 / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.504, allocations: 3.938 kB / 1.335 GB, free: 8.992 MB / 1.029 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.001602/0.5056, allocations: 0.776 MB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5056, allocations: 12.02 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.5079, allocations: 232.4 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.5086, allocations: 372.5 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.5087, allocations: 139.3 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.5088, allocations: 16.38 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.5102, allocations: 0.5352 MB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5102, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.5103, allocations: 4 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5103, allocations: 0 / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.5124, allocations: 0.7611 MB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.5149, allocations: 1.116 MB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005624/0.5205, allocations: 0.9957 MB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5215, allocations: 384.6 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.5215, allocations: 4 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.5229, allocations: 0.5349 MB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/0.5229, allocations: 0 / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003359/0.5262, allocations: 1.178 MB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.5263, allocations: 63.41 kB / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.527, allocations: 0.5213 MB / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.5271, allocations: 33.7 kB / 1.342 GB, free: 1.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5273, allocations: 196.5 kB / 1.343 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5274, allocations: 71.42 kB / 1.343 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.5276, allocations: 65.66 kB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.5278, allocations: 354.8 kB / 1.343 GB, free: 476 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.529, allocations: 0.4982 MB / 1.343 GB, free: 15.96 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.5303, allocations: 0.5589 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.5323, allocations: 0.758 MB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5323, allocations: 0 / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002628/0.5349, allocations: 1.113 MB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.5349, allocations: 45.69 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.535, allocations: 0 / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.535, allocations: 0 / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.5356, allocations: 91.83 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5356, allocations: 7.875 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.5362, allocations: 63.83 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.5362, allocations: 15.97 kB / 1.346 GB, free: 13.26 MB / 1.045 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.000362/0.5366, allocations: 222.2 kB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.5367, allocations: 43.72 kB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.5368, allocations: 48.02 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5368, allocations: 7.984 kB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5368, allocations: 7.875 kB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.5371, allocations: 119.6 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.5372, allocations: 12 kB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.5378, allocations: 59.92 kB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.5379, allocations: 23.95 kB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002649/0.5405, allocations: 0.9087 MB / 1.347 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002365/0.5429, allocations: 0.9861 MB / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001048/0.5439, allocations: 400.3 kB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005494/0.5445, allocations: 387.1 kB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of Backend: time 1.142e-06/0.5445, allocations: 0 / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.5466, allocations: 0.7134 MB / 1.35 GB, free: 9.297 MB / 1.045 GB Notification: Performance of SimCode: time 0.001634/0.5482, allocations: 1.184 MB / 1.351 GB, free: 8.062 MB / 1.045 GB Notification: Performance of Templates: time 0.02105/0.5692, allocations: 12.27 MB / 1.363 GB, free: 11.87 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 10.333468365999579]