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.0007677/0.0007677, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007951/0.0007951, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9121/0.9121, allocations: 177.1 MB / 202.8 MB, free: 5.742 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 1.924/1.924, allocations: 428.6 MB / 0.6716 GB, free: 5.031 MB / 0.6355 GB " [Timeout remaining time 178] 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 1.132e-06/1.132e-06, allocations: 0 / 1.064 GB, free: 34.06 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.192e-05, allocations: 9.016 kB / 1.064 GB, free: 34.05 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.1538/0.1538, allocations: 174.8 MB / 1.235 GB, free: 12.44 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.008474/0.1623, allocations: 6.142 MB / 1.241 GB, free: 7.594 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.1633, allocations: 41.22 kB / 1.241 GB, free: 7.574 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.1647, allocations: 0.5063 MB / 1.241 GB, free: 7.156 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.1698, allocations: 2.296 MB / 1.243 GB, free: 5.418 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.1726, allocations: 1.579 MB / 1.245 GB, free: 4.227 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.002336/0.1749, allocations: 2.558 MB / 1.247 GB, free: 2.688 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.1756, allocations: 0.6213 MB / 1.248 GB, free: 2.23 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.1772, allocations: 1.503 MB / 1.25 GB, free: 1.027 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/0.1781, allocations: 0.6568 MB / 1.25 GB, free: 380 kB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1782, allocations: 108 kB / 1.25 GB, free: 272 kB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.1812, allocations: 2.22 MB / 1.252 GB, free: 14.04 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.1815, allocations: 402.8 kB / 1.253 GB, free: 13.64 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.1818, allocations: 439 kB / 1.253 GB, free: 13.21 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.184, allocations: 2.832 MB / 1.256 GB, free: 10.37 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.184, allocations: 3.984 kB / 1.256 GB, free: 10.37 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.533e-06/0.184, allocations: 0 / 1.256 GB, free: 10.37 MB / 1.12 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1841, allocations: 0 / 1.256 GB, free: 10.37 MB / 1.12 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.001627/0.1857, allocations: 1.489 MB / 1.257 GB, free: 8.832 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1857, allocations: 12.03 kB / 1.257 GB, free: 8.82 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.1858, allocations: 114.5 kB / 1.258 GB, free: 8.699 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.187, allocations: 375 kB / 1.258 GB, free: 8.332 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.188, allocations: 0.944 MB / 1.259 GB, free: 7.359 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.1881, allocations: 50 kB / 1.259 GB, free: 7.312 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.1882, allocations: 76 kB / 1.259 GB, free: 7.238 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.1891, allocations: 0.9915 MB / 1.26 GB, free: 6.16 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1891, allocations: 3.938 kB / 1.26 GB, free: 6.156 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.1891, allocations: 28 kB / 1.26 GB, free: 6.129 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.1892, allocations: 33.31 kB / 1.26 GB, free: 6.098 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007085/0.1899, allocations: 0.6491 MB / 1.261 GB, free: 5.449 MB / 1.12 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.002569/0.1925, allocations: 3.256 MB / 1.264 GB, free: 2.09 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.193, allocations: 446.3 kB / 1.264 GB, free: 1.648 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.1932, allocations: 220.8 kB / 1.264 GB, free: 1.43 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.1934, allocations: 67.92 kB / 1.265 GB, free: 1.363 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.1938, allocations: 406.9 kB / 1.265 GB, free: 0.9258 MB / 1.12 GB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/0.1938, allocations: 0 / 1.265 GB, free: 0.9258 MB / 1.12 GB Notification: Performance of matching and sorting (n=45): time 0.001768/0.1955, allocations: 1.399 MB / 1.266 GB, free: 15.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1956, allocations: 59.34 kB / 1.266 GB, free: 15.43 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008029/0.1964, allocations: 1.036 MB / 1.267 GB, free: 14.38 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1964, allocations: 33.7 kB / 1.267 GB, free: 14.34 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1966, allocations: 464.4 kB / 1.268 GB, free: 13.88 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 9.063e-05/0.1967, allocations: 158.6 kB / 1.268 GB, free: 13.72 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.1968, allocations: 122.3 kB / 1.268 GB, free: 13.59 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.1969, allocations: 330 kB / 1.268 GB, free: 13.27 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.1972, allocations: 254.9 kB / 1.269 GB, free: 13.01 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.1975, allocations: 466 kB / 1.269 GB, free: 12.47 MB / 1.135 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.00272/0.2002, allocations: 1.707 MB / 1.271 GB, free: 10.68 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2002, allocations: 7.938 kB / 1.271 GB, free: 10.67 MB / 1.135 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007588/0.201, allocations: 0.785 MB / 1.272 GB, free: 9.867 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.201, allocations: 37.69 kB / 1.272 GB, free: 9.824 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.201, allocations: 4 kB / 1.272 GB, free: 9.82 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2011, allocations: 11.94 kB / 1.272 GB, free: 9.809 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2013, allocations: 120.5 kB / 1.272 GB, free: 9.691 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2013, allocations: 4 kB / 1.272 GB, free: 9.688 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.2016, allocations: 51.95 kB / 1.272 GB, free: 9.637 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.2017, allocations: 24 kB / 1.272 GB, free: 9.613 MB / 1.135 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.0002651/0.2019, allocations: 301.2 kB / 1.272 GB, free: 9.312 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.2021, allocations: 91.38 kB / 1.272 GB, free: 9.223 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.2027, allocations: 0.5368 MB / 1.273 GB, free: 8.676 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2027, allocations: 7.938 kB / 1.273 GB, free: 8.668 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2027, allocations: 0 / 1.273 GB, free: 8.668 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004297/0.2031, allocations: 0.5316 MB / 1.273 GB, free: 8.105 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.2045, allocations: 1.48 MB / 1.275 GB, free: 6.531 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2045, allocations: 4.406 kB / 1.275 GB, free: 6.527 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2047, allocations: 95.83 kB / 1.275 GB, free: 6.434 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2047, allocations: 4 kB / 1.275 GB, free: 6.43 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2047, allocations: 16 kB / 1.275 GB, free: 6.414 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.2047, allocations: 11.88 kB / 1.275 GB, free: 6.402 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2047, allocations: 4 kB / 1.275 GB, free: 6.398 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.2055, allocations: 0.9072 MB / 1.276 GB, free: 5.438 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.2057, allocations: 151.4 kB / 1.276 GB, free: 5.289 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.2058, allocations: 12 kB / 1.276 GB, free: 5.277 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.206, allocations: 31.92 kB / 1.276 GB, free: 5.246 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.2061, allocations: 39.88 kB / 1.276 GB, free: 5.207 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2061, allocations: 24 kB / 1.276 GB, free: 5.184 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0005647/0.2067, allocations: 0.7333 MB / 1.277 GB, free: 4.453 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2067, allocations: 0 / 1.277 GB, free: 4.453 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0006257/0.2073, allocations: 287.9 kB / 1.277 GB, free: 4.172 MB / 1.135 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.001396/0.2087, allocations: 1.643 MB / 1.278 GB, free: 2.465 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0008362/0.2095, allocations: 0.5737 MB / 1.279 GB, free: 1.871 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2095, allocations: 0 / 1.279 GB, free: 1.871 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.2097, allocations: 226.2 kB / 1.279 GB, free: 1.652 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.211, allocations: 0.5261 MB / 1.28 GB, free: 1.133 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/0.2188, allocations: 7.758 MB / 1.287 GB, free: 9.008 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2192, allocations: 451 kB / 1.288 GB, free: 8.543 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000634/0.2198, allocations: 179.3 kB / 1.288 GB, free: 8.363 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.2202, allocations: 336.3 kB / 1.288 GB, free: 8.035 MB / 1.151 GB Notification: Performance of SimCode: time 1.803e-06/0.2202, allocations: 0 / 1.288 GB, free: 8.035 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/0.2684, allocations: 29.76 MB / 1.317 GB, free: 10.95 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.85, allocations: 10.16 kB / 1.317 GB, free: 10.94 MB / 1.182 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: 12.551214480772614]