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.001507/0.001507, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001575/0.001575, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.363/3.363, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 176] 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.803e-06/1.803e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.455e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.2833/0.2833, allocations: 174.8 MB / 1.048 GB, free: 7.109 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.2961, allocations: 6.145 MB / 1.054 GB, free: 0.9492 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.2975, allocations: 39.69 kB / 1.054 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.2993, allocations: 0.5006 MB / 1.055 GB, free: 416 kB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.709/1.008, allocations: 2.29 MB / 1.057 GB, free: 45.98 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/1.013, allocations: 1.577 MB / 1.059 GB, free: 45.98 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004615/1.017, allocations: 2.55 MB / 1.061 GB, free: 45.98 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.019, allocations: 0.6573 MB / 1.062 GB, free: 45.93 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/1.022, allocations: 1.494 MB / 1.063 GB, free: 45.93 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/1.024, allocations: 0.6791 MB / 1.064 GB, free: 45.93 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/1.024, allocations: 106.1 kB / 1.064 GB, free: 45.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005341/1.029, allocations: 2.208 MB / 1.066 GB, free: 45.74 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005323/1.03, allocations: 404.4 kB / 1.066 GB, free: 45.69 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008368/1.03, allocations: 436.5 kB / 1.067 GB, free: 45.64 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.006663/1.037, allocations: 2.819 MB / 1.07 GB, free: 45.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.037, allocations: 0.5 kB / 1.07 GB, free: 45.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.775e-06/1.037, allocations: 0 / 1.07 GB, free: 45.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.629e-05/1.037, allocations: 3.531 kB / 1.07 GB, free: 45.43 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.003692/1.041, allocations: 1.46 MB / 1.071 GB, free: 44.63 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.041, allocations: 11.75 kB / 1.071 GB, free: 44.63 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/1.044, allocations: 483.4 kB / 1.072 GB, free: 44.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.045, allocations: 0.829 MB / 1.072 GB, free: 44.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/1.045, allocations: 53.97 kB / 1.072 GB, free: 44.27 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/1.045, allocations: 77.81 kB / 1.072 GB, free: 44.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.047, allocations: 0.9843 MB / 1.073 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/1.047, allocations: 9.016 kB / 1.073 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/1.047, allocations: 29.84 kB / 1.073 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/1.047, allocations: 24.47 kB / 1.074 GB, free: 43.93 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/1.048, allocations: 0.6566 MB / 1.074 GB, free: 43.93 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.003985/1.052, allocations: 3.114 MB / 1.077 GB, free: 42.35 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/1.053, allocations: 454.2 kB / 1.078 GB, free: 42.32 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/1.053, allocations: 221 kB / 1.078 GB, free: 42.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/1.053, allocations: 68.06 kB / 1.078 GB, free: 42.32 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/1.054, allocations: 414.4 kB / 1.078 GB, free: 42.11 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/1.054, allocations: 0 / 1.078 GB, free: 42.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002724/1.057, allocations: 1.401 MB / 1.08 GB, free: 41.75 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.057, allocations: 56.88 kB / 1.08 GB, free: 41.69 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009852/1.058, allocations: 0.7392 MB / 1.08 GB, free: 41.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/1.058, allocations: 35.86 kB / 1.08 GB, free: 41.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/1.058, allocations: 466.9 kB / 1.081 GB, free: 41.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/1.058, allocations: 160.8 kB / 1.081 GB, free: 41.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/1.058, allocations: 122.4 kB / 1.081 GB, free: 41.16 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.059, allocations: 383.5 kB / 1.082 GB, free: 40.85 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/1.059, allocations: 258 kB / 1.082 GB, free: 40.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/1.059, allocations: 463.8 kB / 1.082 GB, free: 40.56 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.005127/1.065, allocations: 1.703 MB / 1.084 GB, free: 40.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.065, allocations: 6.562 kB / 1.084 GB, free: 40.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001293/1.066, allocations: 0.8014 MB / 1.085 GB, free: 40.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/1.066, allocations: 41.06 kB / 1.085 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.066, allocations: 5.25 kB / 1.085 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/1.066, allocations: 8.812 kB / 1.085 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/1.066, allocations: 114.6 kB / 1.085 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.066, allocations: 11.56 kB / 1.085 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/1.067, allocations: 50.58 kB / 1.085 GB, free: 40.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/1.067, allocations: 29.09 kB / 1.085 GB, free: 40.07 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.0004969/1.068, allocations: 292.9 kB / 1.085 GB, free: 39.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.068, allocations: 95.33 kB / 1.085 GB, free: 39.91 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009067/1.069, allocations: 0.5255 MB / 1.086 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.069, allocations: 5.219 kB / 1.086 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.069, allocations: 0.5938 kB / 1.086 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006394/1.069, allocations: 0.528 MB / 1.086 GB, free: 39.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/1.072, allocations: 1.391 MB / 1.088 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.072, allocations: 3.281 kB / 1.088 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/1.072, allocations: 97.42 kB / 1.088 GB, free: 39.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.072, allocations: 5.031 kB / 1.088 GB, free: 39.33 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/1.072, allocations: 14.25 kB / 1.088 GB, free: 39.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/1.072, allocations: 11.75 kB / 1.088 GB, free: 39.33 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.072, allocations: 3.781 kB / 1.088 GB, free: 39.33 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.074, allocations: 0.9086 MB / 1.089 GB, free: 39.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/1.074, allocations: 132.8 kB / 1.089 GB, free: 39 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/1.074, allocations: 13.53 kB / 1.089 GB, free: 39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/1.074, allocations: 16.02 kB / 1.089 GB, free: 39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/1.075, allocations: 42.3 kB / 1.089 GB, free: 39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/1.075, allocations: 24.75 kB / 1.089 GB, free: 39 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007426/1.075, allocations: 0.5128 MB / 1.089 GB, free: 38.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0.8438 kB / 1.089 GB, free: 38.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001521/1.077, allocations: 289.9 kB / 1.09 GB, free: 38.89 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.0006799/1.077, allocations: 290.1 kB / 1.09 GB, free: 38.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001122/1.079, allocations: 0.5858 MB / 1.091 GB, free: 38.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.079, allocations: 1.781 kB / 1.091 GB, free: 38.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/1.079, allocations: 225.4 kB / 1.091 GB, free: 38.69 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.081, allocations: 459.1 kB / 1.091 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/1.084, allocations: 1.627 MB / 1.093 GB, free: 37.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/1.084, allocations: 445.9 kB / 1.093 GB, free: 37.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000645/1.085, allocations: 164.1 kB / 1.093 GB, free: 37.78 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/1.085, allocations: 61.31 kB / 1.093 GB, free: 37.77 MB / 1.01 GB Notification: Performance of SimCode: time 1.403e-06/1.085, allocations: 0.7188 kB / 1.093 GB, free: 37.77 MB / 1.01 GB Notification: Performance of Templates: time 0.04235/1.128, allocations: 17.87 MB / 1.111 GB, free: 36.07 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 -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: 10.403518410981633]