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.0008034/0.0008034, allocations: 96.7 kB / 19.44 MB, free: 352 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.0008545/0.0008545, allocations: 157.3 kB / 22.75 MB, free: 1.684 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.8892/0.8892, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.863/1.863, allocations: 393.3 MB / 0.6375 GB, free: 8.293 MB / 0.6042 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.583e-06/1.583e-06, allocations: 0 / 0.8299 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.886e-05, allocations: 3.953 kB / 0.83 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DataCenterEquipment.Racks.AirCooled.Examples.Rack_u): time 0.1393/0.1393, allocations: 174.8 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006628/0.1459, allocations: 6.125 MB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.1465, allocations: 43.62 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.1475, allocations: 0.5084 MB / 1.007 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.1508, allocations: 2.297 MB / 1.009 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.1529, allocations: 1.573 MB / 1.011 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.1552, allocations: 2.555 MB / 1.013 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.156, allocations: 0.6506 MB / 1.014 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.1575, allocations: 1.496 MB / 1.016 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009131/0.1584, allocations: 0.6699 MB / 1.016 GB, free: 12 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-05/0.1585, allocations: 108 kB / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.1609, allocations: 2.212 MB / 1.018 GB, free: 9.68 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.1612, allocations: 402.8 kB / 1.019 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.1615, allocations: 443 kB / 1.019 GB, free: 8.852 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.1638, allocations: 2.836 MB / 1.022 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1638, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1638, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.1638, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.9792 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.001765/0.1656, allocations: 1.493 MB / 1.023 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1656, allocations: 8.031 kB / 1.023 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/0.1657, allocations: 114.5 kB / 1.024 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.1671, allocations: 498.2 kB / 1.024 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.168, allocations: 0.9792 MB / 1.025 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.1681, allocations: 58 kB / 1.025 GB, free: 2.789 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.1682, allocations: 71.98 kB / 1.025 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008745/0.169, allocations: 0.9843 MB / 1.026 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.169, allocations: 3.938 kB / 1.026 GB, free: 1.641 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1691, allocations: 32 kB / 1.026 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.1691, allocations: 29.3 kB / 1.026 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.1699, allocations: 0.6491 MB / 1.027 GB, free: 0.9336 MB / 0.9792 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.002573/0.1724, allocations: 3.287 MB / 1.03 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.173, allocations: 449.5 kB / 1.03 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.1732, allocations: 227.6 kB / 1.031 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.1734, allocations: 71.92 kB / 1.031 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.1737, allocations: 415.4 kB / 1.031 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.1737, allocations: 0 / 1.031 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=45): time 0.001785/0.1755, allocations: 1.405 MB / 1.033 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1756, allocations: 63.33 kB / 1.033 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.1764, allocations: 1.028 MB / 1.034 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.1764, allocations: 37.7 kB / 1.034 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.1767, allocations: 464.4 kB / 1.034 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-05/0.1768, allocations: 166.6 kB / 1.034 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.1769, allocations: 118.2 kB / 1.034 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1771, allocations: 330 kB / 1.035 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.1773, allocations: 254.9 kB / 1.035 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1777, allocations: 470 kB / 1.035 GB, free: 7.887 MB / 0.9948 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.002771/0.1804, allocations: 1.692 MB / 1.037 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1804, allocations: 0 / 1.037 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007966/0.1812, allocations: 0.8124 MB / 1.038 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.1813, allocations: 45.62 kB / 1.038 GB, free: 5.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1813, allocations: 8 kB / 1.038 GB, free: 5.219 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1813, allocations: 12.56 kB / 1.038 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.1816, allocations: 115.8 kB / 1.038 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1816, allocations: 11.94 kB / 1.038 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.1819, allocations: 47.95 kB / 1.038 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.1819, allocations: 27.98 kB / 1.038 GB, free: 5.008 MB / 0.9948 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.000257/0.1822, allocations: 289.6 kB / 1.038 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.1823, allocations: 107.4 kB / 1.038 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/0.1829, allocations: 0.5369 MB / 1.039 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1829, allocations: 11.94 kB / 1.039 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1829, allocations: 0 / 1.039 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000418/0.1833, allocations: 0.5236 MB / 1.039 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1847, allocations: 1.488 MB / 1.041 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1847, allocations: 8.094 kB / 1.041 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.185, allocations: 91.89 kB / 1.041 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.185, allocations: 4 kB / 1.041 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.185, allocations: 12 kB / 1.041 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.185, allocations: 15.88 kB / 1.041 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.185, allocations: 4 kB / 1.041 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.1859, allocations: 0.9235 MB / 1.042 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.1861, allocations: 151.4 kB / 1.042 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.1861, allocations: 20.06 kB / 1.042 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1864, allocations: 19.92 kB / 1.042 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1864, allocations: 47.86 kB / 1.042 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.1865, allocations: 12 kB / 1.042 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005793/0.187, allocations: 0.7411 MB / 1.043 GB, free: 15.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/0.187, allocations: 0 / 1.043 GB, free: 15.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005597/0.1876, allocations: 291.8 kB / 1.043 GB, free: 15.54 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.001283/0.1889, allocations: 1.647 MB / 1.045 GB, free: 13.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006142/0.1895, allocations: 0.5905 MB / 1.045 GB, free: 13.22 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1895, allocations: 0 / 1.045 GB, free: 13.22 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.1897, allocations: 228.2 kB / 1.046 GB, free: 13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.191, allocations: 0.5361 MB / 1.046 GB, free: 12.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/0.1978, allocations: 7.82 MB / 1.054 GB, free: 4.285 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1981, allocations: 447.1 kB / 1.054 GB, free: 3.824 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003969/0.1985, allocations: 183.4 kB / 1.054 GB, free: 3.641 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.1988, allocations: 328.4 kB / 1.055 GB, free: 3.32 MB / 1.01 GB Notification: Performance of SimCode: time 6.72e-07/0.1988, allocations: 0 / 1.055 GB, free: 3.32 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/0.5476, allocations: 30.13 MB / 1.084 GB, free: 266.9 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.188, allocations: 13.34 kB / 1.084 GB, free: 266.9 MB / 1.01 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.117743287235498]