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.001722/0.001722, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002323, allocations: 193.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.442/2.442, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.861/2.861, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.98 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5357, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.2882/0.8239, allocations: 134.2 MB / 1.183 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.06063/0.8846, allocations: 22.98 MB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.8851, allocations: 0 / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.8857, allocations: 39.8 kB / 1.206 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006785/0.8865, allocations: 91.48 kB / 1.206 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.04637/0.9329, allocations: 6.144 MB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008442/0.9337, allocations: 247.9 kB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.9339, allocations: 17.53 kB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007719/0.9347, allocations: 135.5 kB / 1.212 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.9351, allocations: 91.66 kB / 1.212 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.9352, allocations: 8 kB / 1.212 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0474/0.9826, allocations: 11.47 MB / 1.224 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.983, allocations: 43.88 kB / 1.224 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.9833, allocations: 79.66 kB / 1.224 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.03771/1.021, allocations: 6.515 MB / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.533e-05/1.021, allocations: 0 / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.083e-06/1.021, allocations: 0 / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.338e-05/1.021, allocations: 0 / 1.23 GB, free: 2.055 MB / 0.9825 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.00971/1.031, allocations: 1.201 MB / 1.231 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 9.671e-05/1.031, allocations: 8.625 kB / 1.231 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/1.031, allocations: 54.73 kB / 1.231 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/1.033, allocations: 88.66 kB / 1.231 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/1.034, allocations: 224.1 kB / 1.232 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/1.034, allocations: 15.94 kB / 1.232 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/1.034, allocations: 16 kB / 1.232 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.036, allocations: 460.3 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.036, allocations: 0 / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/1.036, allocations: 12 kB / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/1.036, allocations: 4 kB / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/1.039, allocations: 0.5931 MB / 1.233 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/1.04, allocations: 0.8784 MB / 1.234 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.042, allocations: 255.6 kB / 1.234 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/1.042, allocations: 76.83 kB / 1.234 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532/2.574, allocations: 35.03 MB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/2.574, allocations: 32.78 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 4.638e-06/2.574, allocations: 4 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.003709/2.578, allocations: 420.7 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/2.578, allocations: 54.73 kB / 1.269 GB, free: 178 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/2.578, allocations: 148.8 kB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/2.579, allocations: 30.42 kB / 1.269 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/2.579, allocations: 108.2 kB / 1.269 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/2.579, allocations: 85.97 kB / 1.269 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/2.579, allocations: 79.08 kB / 1.269 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001764/2.579, allocations: 326.4 kB / 1.269 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/2.58, allocations: 82.44 kB / 1.269 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/2.581, allocations: 134.8 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/2.582, allocations: 222.1 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/2.582, allocations: 0.5 kB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001766/2.583, allocations: 298.8 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/2.583, allocations: 5.594 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/2.583, allocations: 2.516 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/2.583, allocations: 6.75 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/2.584, allocations: 82.19 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/2.584, allocations: 7.203 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/2.585, allocations: 22.27 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/2.585, allocations: 26.38 kB / 1.27 GB, free: 177.2 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 0.0003082/2.585, allocations: 125.4 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/2.585, allocations: 18.06 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/2.591, allocations: 2.348 MB / 1.273 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/2.592, allocations: 12.88 kB / 1.273 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/2.592, allocations: 9.312 kB / 1.273 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/2.592, allocations: 1.781 kB / 1.273 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/2.599, allocations: 3.417 MB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/2.599, allocations: 1.219 kB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/2.6, allocations: 62.83 kB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.538e-05/2.6, allocations: 1.906 kB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-05/2.6, allocations: 8.188 kB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-05/2.6, allocations: 2.047 kB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.6, allocations: 4 kB / 1.276 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/2.602, allocations: 0.5482 MB / 1.277 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/2.603, allocations: 142.4 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/2.603, allocations: 6.312 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/2.603, allocations: 13.2 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/2.603, allocations: 21.7 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/2.603, allocations: 18.27 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001501/2.604, allocations: 109.3 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/2.604, allocations: 1.219 kB / 1.277 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01178/2.615, allocations: 1.691 MB / 1.279 GB, free: 176 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.02374/2.639, allocations: 2.926 MB / 1.281 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001948/2.641, allocations: 339.7 kB / 1.282 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.641, allocations: 1.781 kB / 1.282 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000897/2.642, allocations: 244.5 kB / 1.282 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/2.644, allocations: 68.31 kB / 1.282 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/2.658, allocations: 3.178 MB / 1.285 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/2.658, allocations: 0.7647 MB / 1.286 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001104/2.659, allocations: 405.4 kB / 1.286 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/2.66, allocations: 101 kB / 1.286 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/2.66, allocations: 0 / 1.286 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.229/3.888, allocations: 63.27 MB / 1.348 GB, free: 116 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/3.889, allocations: 187.1 kB / 1.348 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/14.22, allocations: 3.938 kB / 1.348 GB, free: 115.7 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