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.000864/0.000864, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.0008961/0.0008961, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9597/0.9597, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.331/2.331, allocations: 0.5556 GB / 0.8607 GB, free: 30.8 MB / 0.6667 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: "" <> buildModelFMU(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_DataCenterEquipment_Racks_AirCooled_Examples_Rack_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_DataCenterEquipment_Racks_AirCooled_Examples_Rack_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 68.5 kB / 1.253 GB, free: 22.64 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3654, allocations: 193.3 MB / 1.442 GB, free: 10.88 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.1503/0.5157, allocations: 175 MB / 1.613 GB, free: 11.24 MB / 1.292 GB Notification: Performance of NFInst.instExpressions: time 0.007915/0.5236, allocations: 6.125 MB / 1.619 GB, free: 5.102 MB / 1.292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.5249, allocations: 43.62 kB / 1.619 GB, free: 5.059 MB / 1.292 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.5264, allocations: 0.4931 MB / 1.619 GB, free: 4.562 MB / 1.292 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.5315, allocations: 2.252 MB / 1.621 GB, free: 2.301 MB / 1.292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.5344, allocations: 1.515 MB / 1.623 GB, free: 0.7891 MB / 1.292 GB Notification: Performance of NFFlatten.flatten: time 0.003485/0.5379, allocations: 2.543 MB / 1.625 GB, free: 14.24 MB / 1.307 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.5389, allocations: 0.627 MB / 1.626 GB, free: 13.59 MB / 1.307 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.5411, allocations: 1.199 MB / 1.627 GB, free: 12.39 MB / 1.307 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.5429, allocations: 0.7277 MB / 1.628 GB, free: 11.66 MB / 1.307 GB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.5431, allocations: 108 kB / 1.628 GB, free: 11.56 MB / 1.307 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00433/0.5475, allocations: 2.178 MB / 1.63 GB, free: 9.375 MB / 1.307 GB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.5482, allocations: 386.8 kB / 1.63 GB, free: 8.996 MB / 1.307 GB Notification: Performance of NFVerifyModel.verify: time 0.0008323/0.5491, allocations: 0.498 MB / 1.631 GB, free: 8.496 MB / 1.307 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.555, allocations: 2.706 MB / 1.634 GB, free: 5.781 MB / 1.307 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.555, allocations: 4 kB / 1.634 GB, free: 5.777 MB / 1.307 GB Notification: Performance of FrontEnd: time 3.607e-06/0.555, allocations: 4 kB / 1.634 GB, free: 5.773 MB / 1.307 GB Notification: Performance of Transformations before backend: time 5.733e-05/0.555, allocations: 0 / 1.634 GB, free: 5.773 MB / 1.307 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.003214/0.5582, allocations: 1.489 MB / 1.635 GB, free: 4.242 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5583, allocations: 8.031 kB / 1.635 GB, free: 4.234 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.5584, allocations: 114.5 kB / 1.635 GB, free: 4.113 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.56, allocations: 375 kB / 1.635 GB, free: 3.746 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5612, allocations: 0.9401 MB / 1.636 GB, free: 2.777 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.5613, allocations: 54 kB / 1.636 GB, free: 2.723 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.5613, allocations: 75.94 kB / 1.636 GB, free: 2.648 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.5623, allocations: 0.9883 MB / 1.637 GB, free: 1.574 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5624, allocations: 3.938 kB / 1.637 GB, free: 1.57 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.5624, allocations: 28 kB / 1.637 GB, free: 1.543 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.5624, allocations: 33.31 kB / 1.638 GB, free: 1.512 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.5632, allocations: 0.6569 MB / 1.638 GB, free: 0.8555 MB / 1.307 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.003027/0.5662, allocations: 3.248 MB / 1.641 GB, free: 13.5 MB / 1.323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.5668, allocations: 452.3 kB / 1.642 GB, free: 13.05 MB / 1.323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.567, allocations: 225.5 kB / 1.642 GB, free: 12.83 MB / 1.323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.5672, allocations: 67.7 kB / 1.642 GB, free: 12.76 MB / 1.323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.5676, allocations: 415.6 kB / 1.642 GB, free: 12.31 MB / 1.323 GB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/0.5676, allocations: 0 / 1.642 GB, free: 12.31 MB / 1.323 GB Notification: Performance of matching and sorting (n=45): time 0.001954/0.5696, allocations: 1.396 MB / 1.644 GB, free: 10.88 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.5696, allocations: 63.41 kB / 1.644 GB, free: 10.81 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5707, allocations: 1.036 MB / 1.645 GB, free: 9.758 MB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.5707, allocations: 33.7 kB / 1.645 GB, free: 9.719 MB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.571, allocations: 464.4 kB / 1.645 GB, free: 9.262 MB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5711, allocations: 158.6 kB / 1.646 GB, free: 9.105 MB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.5712, allocations: 122.2 kB / 1.646 GB, free: 8.98 MB / 1.323 GB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.5713, allocations: 330 kB / 1.646 GB, free: 8.652 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.5715, allocations: 250.9 kB / 1.646 GB, free: 8.402 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.5719, allocations: 473.9 kB / 1.647 GB, free: 7.859 MB / 1.323 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.002941/0.5748, allocations: 1.696 MB / 1.648 GB, free: 6.07 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5748, allocations: 4 kB / 1.648 GB, free: 6.066 MB / 1.323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008901/0.5757, allocations: 0.7801 MB / 1.649 GB, free: 5.27 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.5758, allocations: 49.75 kB / 1.649 GB, free: 5.215 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5758, allocations: 4 kB / 1.649 GB, free: 5.211 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5758, allocations: 8 kB / 1.649 GB, free: 5.203 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.576, allocations: 111.8 kB / 1.649 GB, free: 5.094 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.576, allocations: 8 kB / 1.649 GB, free: 5.086 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.5765, allocations: 47.95 kB / 1.649 GB, free: 5.039 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.5765, allocations: 24 kB / 1.649 GB, free: 5.016 MB / 1.323 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.0003713/0.5769, allocations: 303 kB / 1.65 GB, free: 4.711 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.577, allocations: 91.38 kB / 1.65 GB, free: 4.621 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.5776, allocations: 0.5405 MB / 1.65 GB, free: 4.07 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5777, allocations: 4 kB / 1.65 GB, free: 4.066 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5777, allocations: 0 / 1.65 GB, free: 4.066 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004671/0.5781, allocations: 0.5238 MB / 1.651 GB, free: 3.512 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.58, allocations: 1.488 MB / 1.652 GB, free: 1.934 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.58, allocations: 4 kB / 1.652 GB, free: 1.93 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.5802, allocations: 91.83 kB / 1.652 GB, free: 1.84 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.5802, allocations: 7.938 kB / 1.652 GB, free: 1.832 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5803, allocations: 20 kB / 1.652 GB, free: 1.812 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.5803, allocations: 7.938 kB / 1.652 GB, free: 1.805 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5803, allocations: 4.406 kB / 1.652 GB, free: 1.801 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.5811, allocations: 0.9147 MB / 1.653 GB, free: 0.8281 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.5814, allocations: 151.3 kB / 1.653 GB, free: 0.6797 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.5815, allocations: 16 kB / 1.653 GB, free: 0.6641 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.5817, allocations: 27.84 kB / 1.653 GB, free: 0.6367 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.5818, allocations: 47.81 kB / 1.653 GB, free: 0.5898 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.5818, allocations: 16 kB / 1.653 GB, free: 0.5742 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.0007106/0.5825, allocations: 0.7333 MB / 1.654 GB, free: 15.85 MB / 1.339 GB Notification: Performance of sort global known variables: time 8e-08/0.5825, allocations: 0 / 1.654 GB, free: 15.85 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.0007858/0.5833, allocations: 291.9 kB / 1.654 GB, free: 15.56 MB / 1.339 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.001433/0.5848, allocations: 1.625 MB / 1.656 GB, free: 13.88 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.5855, allocations: 0.5821 MB / 1.657 GB, free: 13.28 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5855, allocations: 0 / 1.657 GB, free: 13.28 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.5857, allocations: 219.7 kB / 1.657 GB, free: 13.06 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5872, allocations: 0.5221 MB / 1.657 GB, free: 12.54 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008499/0.5956, allocations: 7.798 MB / 1.665 GB, free: 4.383 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.596, allocations: 447 kB / 1.665 GB, free: 3.918 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.000596/0.5966, allocations: 187.3 kB / 1.666 GB, free: 3.73 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.5969, allocations: 327.3 kB / 1.666 GB, free: 3.41 MB / 1.339 GB Notification: Performance of SimCode: time 1.894e-06/0.5969, allocations: 0 / 1.666 GB, free: 3.41 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.6451, allocations: 29.79 MB / 1.695 GB, free: 6.25 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.216, allocations: 1.719 kB / 1.695 GB, free: 6.25 MB / 1.37 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DataCenterEquipment_Racks_AirCooled_Examples_Rack_u_fmu --startTime=0 --stopTime=540 --stepSize=0.216 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DataCenterEquipment_Racks_AirCooled_Examples_Rack_u.fmu > Buildings_latest_Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u.pipe 2>&1) [Timeout 840.0] 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: 13.415623880922794]