Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 191 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 65.11 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2591, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1281/0.3872, allocations: 136.1 MB / 1.186 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.4128, allocations: 22.67 MB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.413, allocations: 4 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.4133, allocations: 47.66 kB / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.4136, allocations: 91.38 kB / 1.208 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.4289, allocations: 6.949 MB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.4292, allocations: 247.9 kB / 1.215 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.4293, allocations: 13.55 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.4295, allocations: 143.5 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.4297, allocations: 87.66 kB / 1.215 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.4297, allocations: 8 kB / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.449, allocations: 11.34 MB / 1.226 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.4492, allocations: 39.89 kB / 1.226 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.4493, allocations: 83.64 kB / 1.227 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.4639, allocations: 6.48 MB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4639, allocations: 0 / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.464, allocations: 0 / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.464, allocations: 4 kB / 1.233 GB, free: 15.37 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002954/0.4669, allocations: 1.205 MB / 1.234 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.467, allocations: 8.625 kB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.467, allocations: 54.73 kB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.4681, allocations: 80.67 kB / 1.234 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4683, allocations: 236 kB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4684, allocations: 11.94 kB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.4684, allocations: 24 kB / 1.234 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.4695, allocations: 448.3 kB / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4695, allocations: 0 / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.4696, allocations: 12 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4696, allocations: 4 kB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.4707, allocations: 0.5931 MB / 1.235 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.4717, allocations: 0.8745 MB / 1.236 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.4725, allocations: 259.7 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.4726, allocations: 72.83 kB / 1.237 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4908/0.9634, allocations: 35.04 MB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.9634, allocations: 37.36 kB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.645e-06/0.9634, allocations: 0.5 kB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001806/0.9653, allocations: 422.6 kB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.9653, allocations: 57.5 kB / 1.271 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.9654, allocations: 145.8 kB / 1.271 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.9654, allocations: 31.64 kB / 1.272 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.9655, allocations: 108.7 kB / 1.272 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.9655, allocations: 87.86 kB / 1.272 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.9657, allocations: 77.78 kB / 1.272 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.9657, allocations: 322.2 kB / 1.272 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.9659, allocations: 82.62 kB / 1.272 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.9661, allocations: 128.2 kB / 1.272 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.9665, allocations: 223.2 kB / 1.272 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9665, allocations: 1.094 kB / 1.272 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007089/0.9673, allocations: 298.5 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.9673, allocations: 10.12 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9673, allocations: 2.156 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9673, allocations: 6.75 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.9676, allocations: 79.27 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9676, allocations: 10.91 kB / 1.273 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.9677, allocations: 21.25 kB / 1.273 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.9678, allocations: 23.66 kB / 1.273 GB, free: 175 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 9.905e-05/0.9679, allocations: 125.1 kB / 1.273 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.9681, allocations: 21.73 kB / 1.273 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.9701, allocations: 2.351 MB / 1.275 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.9701, allocations: 12.62 kB / 1.275 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9701, allocations: 3.938 kB / 1.275 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.9702, allocations: 3.016 kB / 1.275 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.9729, allocations: 3.417 MB / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.9729, allocations: 1.156 kB / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.9731, allocations: 55.17 kB / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.9732, allocations: 5.766 kB / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.9732, allocations: 13.17 kB / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9732, allocations: 1.125 kB / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9732, allocations: 0 / 1.279 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.9739, allocations: 0.5479 MB / 1.279 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.974, allocations: 148.1 kB / 1.279 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.974, allocations: 5.516 kB / 1.279 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.9742, allocations: 11.81 kB / 1.279 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.9743, allocations: 21.45 kB / 1.279 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.9743, allocations: 13.34 kB / 1.28 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.9744, allocations: 110.6 kB / 1.28 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9744, allocations: 0 / 1.28 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003929/0.9783, allocations: 1.686 MB / 1.281 GB, free: 173.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.008414/0.9867, allocations: 2.929 MB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008734/0.9877, allocations: 338.5 kB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9877, allocations: 7.562 kB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.9879, allocations: 236.9 kB / 1.285 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.9885, allocations: 71.42 kB / 1.285 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.9934, allocations: 3.045 MB / 1.288 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.9935, allocations: 0.7607 MB / 1.288 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000492/0.994, allocations: 414.6 kB / 1.289 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.9942, allocations: 98.12 kB / 1.289 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.9942, allocations: 4 kB / 1.289 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.936/2.93, allocations: 63.29 MB / 1.351 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/18.16, allocations: 19.42 kB / 1.351 GB, free: 112.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches