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.0008468/0.0008468, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.0009046/0.0009046, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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 0.991/0.991, allocations: 177.2 MB / 203.9 MB, free: 5.594 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.015/2.015, allocations: 428.5 MB / 0.6727 GB, free: 4.906 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.383e-06/1.383e-06, allocations: 0 / 0.8771 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.911e-05/6.049e-05, allocations: 2.312 kB / 0.8771 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.1697/0.1697, allocations: 174.8 MB / 1.048 GB, free: 8.523 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009689/0.1794, allocations: 6.152 MB / 1.054 GB, free: 2.355 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1806, allocations: 43.69 kB / 1.054 GB, free: 2.312 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.1819, allocations: 0.4928 MB / 1.054 GB, free: 1.816 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.5734/0.7553, allocations: 2.302 MB / 1.056 GB, free: 46.67 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.7588, allocations: 1.567 MB / 1.058 GB, free: 46.67 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003708/0.7625, allocations: 2.555 MB / 1.061 GB, free: 46.67 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.7637, allocations: 0.6553 MB / 1.061 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.7668, allocations: 1.496 MB / 1.063 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.7686, allocations: 0.6576 MB / 1.063 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.7689, allocations: 108.1 kB / 1.063 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.7738, allocations: 2.22 MB / 1.066 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.7743, allocations: 396.9 kB / 1.066 GB, free: 46.61 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008483/0.7751, allocations: 438.7 kB / 1.066 GB, free: 46.57 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.78, allocations: 2.82 MB / 1.069 GB, free: 46.38 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.78, allocations: 0.5 kB / 1.069 GB, free: 46.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.316e-06/0.78, allocations: 0.8125 kB / 1.069 GB, free: 46.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.972e-05/0.7801, allocations: 0 / 1.069 GB, free: 46.38 MB / 1.01 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.003449/0.7835, allocations: 1.463 MB / 1.071 GB, free: 45.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.7836, allocations: 8.5 kB / 1.071 GB, free: 45.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.7857, allocations: 488 kB / 1.071 GB, free: 45.49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.787, allocations: 0.8271 MB / 1.072 GB, free: 45.23 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.787, allocations: 55.08 kB / 1.072 GB, free: 45.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.7871, allocations: 75.2 kB / 1.072 GB, free: 45.23 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.7882, allocations: 0.9877 MB / 1.073 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.7882, allocations: 4.969 kB / 1.073 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.7882, allocations: 31.47 kB / 1.073 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.7883, allocations: 31.02 kB / 1.073 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.7892, allocations: 0.6526 MB / 1.074 GB, free: 44.88 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.002904/0.7921, allocations: 3.115 MB / 1.077 GB, free: 43.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.7927, allocations: 455.2 kB / 1.077 GB, free: 43.28 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.793, allocations: 221.5 kB / 1.077 GB, free: 43.27 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.7932, allocations: 69.28 kB / 1.077 GB, free: 43.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.7936, allocations: 408.4 kB / 1.078 GB, free: 43.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 4.378e-06/0.7936, allocations: 0 / 1.078 GB, free: 43.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002148/0.7958, allocations: 1.406 MB / 1.079 GB, free: 42.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.7958, allocations: 56.69 kB / 1.079 GB, free: 42.64 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.7966, allocations: 0.7377 MB / 1.08 GB, free: 42.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.7966, allocations: 36.27 kB / 1.08 GB, free: 42.47 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.7968, allocations: 459.6 kB / 1.08 GB, free: 42.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.797, allocations: 165 kB / 1.081 GB, free: 42.14 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.7971, allocations: 123.5 kB / 1.081 GB, free: 42.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.7972, allocations: 383.9 kB / 1.081 GB, free: 41.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.7975, allocations: 248.8 kB / 1.081 GB, free: 41.78 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.7979, allocations: 474.5 kB / 1.082 GB, free: 41.52 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.003258/0.8012, allocations: 1.695 MB / 1.083 GB, free: 41.22 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8012, allocations: 6.562 kB / 1.083 GB, free: 41.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001065/0.8023, allocations: 0.7976 MB / 1.084 GB, free: 41.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.8023, allocations: 40.62 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.8023, allocations: 6.062 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.8024, allocations: 7.875 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.8027, allocations: 119.2 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.8027, allocations: 11.88 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.8032, allocations: 41.25 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.8032, allocations: 31.67 kB / 1.084 GB, free: 41.04 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.0003865/0.8036, allocations: 296.7 kB / 1.085 GB, free: 40.91 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.8037, allocations: 99.27 kB / 1.085 GB, free: 40.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.8043, allocations: 0.5286 MB / 1.085 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.8043, allocations: 5.312 kB / 1.085 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8043, allocations: 0 / 1.085 GB, free: 40.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000454/0.8048, allocations: 0.5346 MB / 1.086 GB, free: 40.64 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.8067, allocations: 1.386 MB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.8067, allocations: 5.125 kB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.807, allocations: 95.91 kB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.807, allocations: 5.219 kB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.807, allocations: 18.16 kB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.807, allocations: 6.188 kB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.807, allocations: 6 kB / 1.087 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.8081, allocations: 0.9081 MB / 1.088 GB, free: 40 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.8084, allocations: 135.5 kB / 1.088 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/0.8085, allocations: 13.03 kB / 1.088 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.8088, allocations: 18.98 kB / 1.088 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.8089, allocations: 39.56 kB / 1.088 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.8089, allocations: 25.34 kB / 1.088 GB, free: 39.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005603/0.8095, allocations: 0.506 MB / 1.089 GB, free: 39.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 2e-07/0.8095, allocations: 0.9688 kB / 1.089 GB, free: 39.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009968/0.8105, allocations: 293.1 kB / 1.089 GB, free: 39.85 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.0005388/0.811, allocations: 284.7 kB / 1.089 GB, free: 39.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.8119, allocations: 0.5847 MB / 1.09 GB, free: 39.65 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.8119, allocations: 1.938 kB / 1.09 GB, free: 39.65 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.8122, allocations: 223.7 kB / 1.09 GB, free: 39.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.8136, allocations: 462.6 kB / 1.091 GB, free: 39.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.8162, allocations: 1.631 MB / 1.092 GB, free: 38.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.8167, allocations: 450.6 kB / 1.093 GB, free: 38.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007135/0.8174, allocations: 161.7 kB / 1.093 GB, free: 38.74 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8176, allocations: 58.81 kB / 1.093 GB, free: 38.73 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/0.8176, allocations: 0 / 1.093 GB, free: 38.73 MB / 1.01 GB Notification: Performance of Templates: time 0.03124/0.8488, allocations: 17.87 MB / 1.11 GB, free: 37.06 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.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: 6.806166106835008]