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.002495/0.002495, allocations: 85.48 kB / 19.44 MB, free: 344 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.003419/0.003419, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.668/1.668, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.421/3.421, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.934e-06/1.934e-06, allocations: 0.9844 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.613e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.9393/0.9393, allocations: 195.1 MB / 1.068 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.9502, allocations: 6.65 MB / 1.074 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.9517, allocations: 43.91 kB / 1.075 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.9535, allocations: 0.4965 MB / 1.075 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006663/0.9601, allocations: 2.299 MB / 1.077 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.9644, allocations: 1.573 MB / 1.079 GB, free: 47.38 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004316/0.9687, allocations: 2.565 MB / 1.081 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.97, allocations: 0.6871 MB / 1.082 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.9727, allocations: 1.502 MB / 1.083 GB, free: 46.99 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.9741, allocations: 0.6686 MB / 1.084 GB, free: 46.92 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.9743, allocations: 110.6 kB / 1.084 GB, free: 46.92 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005236/0.9795, allocations: 2.212 MB / 1.086 GB, free: 46.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.9801, allocations: 409.9 kB / 1.087 GB, free: 46.65 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.9807, allocations: 438.7 kB / 1.087 GB, free: 46.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004785/0.9855, allocations: 2.816 MB / 1.09 GB, free: 46.39 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9855, allocations: 6.562 kB / 1.09 GB, free: 46.39 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9855, allocations: 0.9375 kB / 1.09 GB, free: 46.39 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.9855, allocations: 0 / 1.09 GB, free: 46.39 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.002844/0.9884, allocations: 1.657 MB / 1.092 GB, free: 45.49 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.9884, allocations: 12.5 kB / 1.092 GB, free: 45.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.991, allocations: 490 kB / 1.092 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.9926, allocations: 0.77 MB / 1.093 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/0.9927, allocations: 60.56 kB / 1.093 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.9928, allocations: 75.16 kB / 1.093 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.9942, allocations: 0.9537 MB / 1.094 GB, free: 44.71 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.9943, allocations: 0.9688 kB / 1.094 GB, free: 44.71 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.9943, allocations: 31.06 kB / 1.094 GB, free: 44.71 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.9944, allocations: 30.89 kB / 1.094 GB, free: 44.71 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.9954, allocations: 467.5 kB / 1.094 GB, free: 44.71 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.004659/1, allocations: 4.229 MB / 1.098 GB, free: 42.24 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/1.001, allocations: 327.9 kB / 1.099 GB, free: 42.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/1.001, allocations: 160.9 kB / 1.099 GB, free: 42.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/1.001, allocations: 58.5 kB / 1.099 GB, free: 42.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/1.002, allocations: 356.7 kB / 1.099 GB, free: 41.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/1.002, allocations: 1.25 kB / 1.099 GB, free: 41.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002794/1.005, allocations: 1.125 MB / 1.1 GB, free: 41.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.005, allocations: 59.98 kB / 1.1 GB, free: 41.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.006, allocations: 0.8541 MB / 1.101 GB, free: 41.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/1.006, allocations: 37.11 kB / 1.101 GB, free: 41.31 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/1.006, allocations: 0.5412 MB / 1.102 GB, free: 41.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/1.007, allocations: 176.7 kB / 1.102 GB, free: 40.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.007, allocations: 150 kB / 1.102 GB, free: 40.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002511/1.007, allocations: 0.6162 MB / 1.103 GB, free: 40.42 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/1.007, allocations: 190.9 kB / 1.103 GB, free: 40.39 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/1.008, allocations: 476.6 kB / 1.103 GB, free: 40.04 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.004928/1.013, allocations: 1.443 MB / 1.105 GB, free: 39.65 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.013, allocations: 2.656 kB / 1.105 GB, free: 39.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00147/1.014, allocations: 0.6737 MB / 1.106 GB, free: 39.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/1.014, allocations: 44.48 kB / 1.106 GB, free: 39.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.014, allocations: 3.938 kB / 1.106 GB, free: 39.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/1.015, allocations: 8.594 kB / 1.106 GB, free: 39.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/1.015, allocations: 113.2 kB / 1.106 GB, free: 39.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/1.015, allocations: 11.52 kB / 1.106 GB, free: 39.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/1.016, allocations: 36.08 kB / 1.106 GB, free: 39.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/1.016, allocations: 29.48 kB / 1.106 GB, free: 39.46 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.0005534/1.016, allocations: 278.8 kB / 1.106 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.017, allocations: 100.3 kB / 1.106 GB, free: 39.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/1.018, allocations: 417.6 kB / 1.107 GB, free: 39.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/1.018, allocations: 4.312 kB / 1.107 GB, free: 39.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.018, allocations: 1.094 kB / 1.107 GB, free: 39.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007097/1.018, allocations: 416.6 kB / 1.107 GB, free: 39.03 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/1.021, allocations: 1.522 MB / 1.108 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.021, allocations: 3.125 kB / 1.108 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/1.022, allocations: 90.84 kB / 1.108 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.022, allocations: 4.875 kB / 1.108 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/1.022, allocations: 18.23 kB / 1.109 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/1.022, allocations: 13.25 kB / 1.109 GB, free: 38.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.022, allocations: 4.25 kB / 1.109 GB, free: 38.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.023, allocations: 0.8107 MB / 1.109 GB, free: 38.16 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/1.023, allocations: 131.1 kB / 1.109 GB, free: 38.12 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.024, allocations: 13.36 kB / 1.109 GB, free: 38.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/1.024, allocations: 21.11 kB / 1.109 GB, free: 38.12 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/1.024, allocations: 38.14 kB / 1.11 GB, free: 38.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/1.024, allocations: 19.17 kB / 1.11 GB, free: 38.12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007405/1.025, allocations: 0.5198 MB / 1.11 GB, free: 37.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.6e-07/1.025, allocations: 0 / 1.11 GB, free: 37.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001338/1.026, allocations: 293.7 kB / 1.11 GB, free: 37.97 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.0006724/1.027, allocations: 288.2 kB / 1.111 GB, free: 37.86 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001161/1.028, allocations: 0.526 MB / 1.111 GB, free: 37.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.028, allocations: 1.094 kB / 1.111 GB, free: 37.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.028, allocations: 191.2 kB / 1.111 GB, free: 37.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.03, allocations: 463.8 kB / 1.112 GB, free: 37.69 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/1.033, allocations: 1.552 MB / 1.113 GB, free: 36.88 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/1.034, allocations: 436 kB / 1.114 GB, free: 36.78 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006453/1.034, allocations: 144.4 kB / 1.114 GB, free: 36.76 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/1.035, allocations: 62.12 kB / 1.114 GB, free: 36.75 MB / 1.01 GB Notification: Performance of SimCode: time 1.313e-06/1.035, allocations: 0 / 1.114 GB, free: 36.75 MB / 1.01 GB Notification: Performance of Templates: time 0.03663/1.071, allocations: 18.02 MB / 1.131 GB, free: 34.91 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","/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.515256403945386]