Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.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.000906/0.000906, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009364/0.0009364, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9351/0.9351, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.023/2.023, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rac.dat.m_flow_nominal|rac.port_a.m_flow|rac.utiIT|senTIn.T|senTOut.T|rac.PTot",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u") translateModel(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rac.dat.m_flow_nominal|rac.port_a.m_flow|rac.utiIT|senTIn.T|senTOut.T|rac.PTot",fileNamePrefix="Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.314e-05, allocations: 8.703 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.1341/0.1342, allocations: 147.8 MB / 1.024 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006319/0.1405, allocations: 4.164 MB / 1.028 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1415, allocations: 43.62 kB / 1.028 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008677/0.1424, allocations: 289.9 kB / 1.028 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.145, allocations: 1.317 MB / 1.029 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.1467, allocations: 0.7991 MB / 1.03 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.1494, allocations: 2.497 MB / 1.033 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008095/0.1503, allocations: 0.6935 MB / 1.033 GB, free: 7.938 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.1522, allocations: 1.269 MB / 1.035 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008696/0.1531, allocations: 0.666 MB / 1.035 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.1532, allocations: 108 kB / 1.035 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1545, allocations: 0.7989 MB / 1.036 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.1548, allocations: 398.8 kB / 1.036 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.1552, allocations: 435 kB / 1.037 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.1572, allocations: 1.348 MB / 1.038 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1572, allocations: 0 / 1.038 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1572, allocations: 3.938 kB / 1.038 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1573, allocations: 0 / 1.038 GB, free: 2.941 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.0016/0.1589, allocations: 1.461 MB / 1.04 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1589, allocations: 8.031 kB / 1.04 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.1601, allocations: 466.6 kB / 1.04 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.1609, allocations: 0.7386 MB / 1.041 GB, free: 200 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.1609, allocations: 54 kB / 1.041 GB, free: 144 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.161, allocations: 76 kB / 1.041 GB, free: 68 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.1616, allocations: 0.7122 MB / 1.042 GB, free: 15.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1616, allocations: 7.938 kB / 1.042 GB, free: 15.24 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.1616, allocations: 32 kB / 1.042 GB, free: 15.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.1617, allocations: 29.3 kB / 1.042 GB, free: 15.18 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.162, allocations: 242 kB / 1.042 GB, free: 14.95 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.1643, allocations: 3.562 MB / 1.045 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.1647, allocations: 246.9 kB / 1.046 GB, free: 11.02 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.1648, allocations: 99.55 kB / 1.046 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.165, allocations: 55.94 kB / 1.046 GB, free: 10.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.1652, allocations: 302 kB / 1.046 GB, free: 10.52 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.1652, allocations: 0 / 1.046 GB, free: 10.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001086/0.1663, allocations: 0.7519 MB / 1.047 GB, free: 9.738 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1663, allocations: 55.41 kB / 1.047 GB, free: 9.672 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.1669, allocations: 0.6592 MB / 1.047 GB, free: 8.992 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.167, allocations: 33.7 kB / 1.047 GB, free: 8.953 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.1672, allocations: 0.5183 MB / 1.048 GB, free: 8.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.1673, allocations: 162.6 kB / 1.048 GB, free: 8.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1674, allocations: 127.9 kB / 1.048 GB, free: 8.133 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1676, allocations: 0.5702 MB / 1.049 GB, free: 7.551 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1677, allocations: 107 kB / 1.049 GB, free: 7.441 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1679, allocations: 389.3 kB / 1.049 GB, free: 6.953 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: rac.vol.dynBal.medium.p = rac.vol.dynBal.p_start (sou.p = rac.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.1685, allocations: 0.6417 MB / 1.05 GB, free: 6.211 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1685, allocations: 3.938 kB / 1.05 GB, free: 6.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005068/0.169, allocations: 0.5234 MB / 1.05 GB, free: 5.664 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.169, allocations: 46.31 kB / 1.05 GB, free: 5.613 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.169, allocations: 4 kB / 1.05 GB, free: 5.609 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1691, allocations: 12 kB / 1.05 GB, free: 5.598 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.1695, allocations: 111.8 kB / 1.051 GB, free: 5.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1696, allocations: 8 kB / 1.051 GB, free: 5.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.1698, allocations: 39.91 kB / 1.051 GB, free: 5.441 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.1699, allocations: 20 kB / 1.051 GB, free: 5.422 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: rac.vol.dynBal.medium.p = rac.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.uti.booPul.y,uti.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0001666/0.17, allocations: 204.3 kB / 1.051 GB, free: 5.211 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.1701, allocations: 91.53 kB / 1.051 GB, free: 5.121 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.1705, allocations: 320.7 kB / 1.051 GB, free: 4.797 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1705, allocations: 4 kB / 1.051 GB, free: 4.793 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1705, allocations: 0 / 1.051 GB, free: 4.793 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002382/0.1707, allocations: 312.4 kB / 1.052 GB, free: 4.457 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1718, allocations: 1.077 MB / 1.053 GB, free: 3.289 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1718, allocations: 4 kB / 1.053 GB, free: 3.285 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.172, allocations: 91.89 kB / 1.053 GB, free: 3.195 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.172, allocations: 7.938 kB / 1.053 GB, free: 3.188 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.172, allocations: 12 kB / 1.053 GB, free: 3.176 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.172, allocations: 7.984 kB / 1.053 GB, free: 3.168 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.172, allocations: 7.938 kB / 1.053 GB, free: 3.16 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.1725, allocations: 0.6281 MB / 1.053 GB, free: 2.461 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1727, allocations: 127.5 kB / 1.053 GB, free: 2.336 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.1727, allocations: 19.92 kB / 1.053 GB, free: 2.316 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1729, allocations: 16 kB / 1.054 GB, free: 2.301 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.173, allocations: 43.86 kB / 1.054 GB, free: 2.258 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.173, allocations: 19.94 kB / 1.054 GB, free: 2.238 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002521/0.1732, allocations: 406.8 kB / 1.054 GB, free: 1.848 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1732, allocations: 0 / 1.054 GB, free: 1.848 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005868/0.1738, allocations: 283.8 kB / 1.054 GB, free: 1.57 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (rac.vol.dynBal.medium.Xi[1],rac.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,uti.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003279/0.1742, allocations: 238.8 kB / 1.054 GB, free: 1.328 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1746, allocations: 368.9 kB / 1.055 GB, free: 0.9453 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1746, allocations: 4 kB / 1.055 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1747, allocations: 128 kB / 1.055 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.1758, allocations: 448.5 kB / 1.055 GB, free: 388 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3984/0.5742, allocations: 1.485 MB / 1.057 GB, free: 78.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.5743, allocations: 208.6 kB / 1.057 GB, free: 78.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004802/0.5748, allocations: 115.4 kB / 1.057 GB, free: 78.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.5754, allocations: 404 kB / 1.057 GB, free: 78.57 MB / 1.01 GB Notification: Performance of SimCode: time 4.208e-06/0.5754, allocations: 0 / 1.057 GB, free: 78.57 MB / 1.01 GB Notification: Performance of Templates: time 0.02149/0.5969, allocations: 19.32 MB / 1.076 GB, free: 77.15 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.sim & ./Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DataCenterEquipment_Racks_AirCooled_Examples_Rack_u.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.25802506506443]