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.001891/0.001891, allocations: 115.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.002126/0.002126, allocations: 193.7 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 1.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.32 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.874/2.874, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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.00263/0.00263, allocations: 67.88 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8385, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004946/0.8434, allocations: 2.919 MB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.8473, allocations: 2.235 MB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.8475, allocations: 4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.8483, allocations: 258.4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.8485, allocations: 79.28 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.8498, allocations: 499.4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.8504, allocations: 0.5064 MB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8505, allocations: 32.72 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.8508, allocations: 207.4 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.8511, allocations: 215.3 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.8512, allocations: 44 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.8517, allocations: 247.7 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.8519, allocations: 171.5 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.8521, allocations: 210.9 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009123/0.8531, allocations: 0.7541 MB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8531, allocations: 0 / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8531, allocations: 0 / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.8531, allocations: 0 / 1.282 GB, free: 12.09 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.001591/0.8547, allocations: 0.8552 MB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8547, allocations: 8.031 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.857, allocations: 240.4 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/0.8577, allocations: 426.3 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.8578, allocations: 91.86 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.8579, allocations: 16.38 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.8594, allocations: 0.5312 MB / 1.284 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8594, allocations: 0 / 1.284 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.8594, allocations: 0 / 1.284 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.8594, allocations: 4 kB / 1.284 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.8616, allocations: 0.765 MB / 1.285 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.8642, allocations: 1.265 MB / 1.286 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/0.8698, allocations: 0.9939 MB / 1.287 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.871, allocations: 384.5 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.871, allocations: 15.92 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.8725, allocations: 0.5301 MB / 1.288 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/0.8725, allocations: 0 / 1.288 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.003607/0.8761, allocations: 1.179 MB / 1.289 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.8761, allocations: 67.28 kB / 1.289 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.8768, allocations: 0.5135 MB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.8769, allocations: 37.69 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.8772, allocations: 200.5 kB / 1.29 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/0.8773, allocations: 63.44 kB / 1.29 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.8774, allocations: 73.66 kB / 1.29 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002718/0.8777, allocations: 350.8 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.879, allocations: 468.5 kB / 1.291 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.8803, allocations: 0.4992 MB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.8826, allocations: 0.7585 MB / 1.292 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8826, allocations: 4 kB / 1.292 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00275/0.8854, allocations: 1.073 MB / 1.293 GB, free: 460 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.8854, allocations: 45.69 kB / 1.293 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8854, allocations: 0 / 1.293 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.8854, allocations: 7.938 kB / 1.293 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.8861, allocations: 83.89 kB / 1.293 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.8861, allocations: 4 kB / 1.293 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.8867, allocations: 59.83 kB / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.8867, allocations: 19.97 kB / 1.294 GB, free: 232 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.0003643/0.8871, allocations: 217.7 kB / 1.294 GB, free: 4 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.8872, allocations: 43.77 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.953e-05/0.8873, allocations: 47.81 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.8873, allocations: 4 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.8873, allocations: 3.984 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8873, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.8883, allocations: 0.6607 MB / 1.294 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8883, allocations: 0 / 1.294 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.8889, allocations: 95.83 kB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8889, allocations: 0 / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.8889, allocations: 11.92 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8889, allocations: 4 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8889, allocations: 3.984 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.8913, allocations: 0.8378 MB / 1.295 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.8916, allocations: 184.7 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.8916, allocations: 15.92 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.8922, allocations: 59.92 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.8923, allocations: 23.97 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.8923, allocations: 11.98 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004938/0.8928, allocations: 391.1 kB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8928, allocations: 0 / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004566/0.8933, allocations: 107.8 kB / 1.296 GB, free: 13.43 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.0003026/0.8936, allocations: 139.7 kB / 1.296 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.8962, allocations: 0.9244 MB / 1.297 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8962, allocations: 0 / 1.297 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.8973, allocations: 414.2 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.8979, allocations: 95.66 kB / 1.298 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.9007, allocations: 1.071 MB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.9013, allocations: 0.8579 MB / 1.3 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000457/0.9017, allocations: 138.8 kB / 1.3 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.9019, allocations: 43.41 kB / 1.3 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/0.9019, allocations: 3.938 kB / 1.3 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of Templates: time 0.01721/0.9191, allocations: 8.917 MB / 1.308 GB, free: 0.8672 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 cvode -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.145132552832365]