Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.006609/0.006609, allocations: 102 kB / 15.73 MB, free: 6.438 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.001602/0.001602, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.31 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2342, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1264/0.3607, allocations: 135.4 MB / 1.22 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.3609, allocations: 55.67 kB / 1.22 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.3609, allocations: 0 / 1.22 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3611, allocations: 0 / 1.22 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.3612, allocations: 19.91 kB / 1.22 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.3621, allocations: 238 kB / 1.22 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.3622, allocations: 31.86 kB / 1.22 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.3622, allocations: 4 kB / 1.22 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.3623, allocations: 19.97 kB / 1.22 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.3624, allocations: 15.88 kB / 1.22 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3624, allocations: 0 / 1.22 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004517/0.3628, allocations: 243.5 kB / 1.22 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.3629, allocations: 11.98 kB / 1.22 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.3629, allocations: 11.92 kB / 1.22 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.3633, allocations: 182.5 kB / 1.22 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3633, allocations: 3.984 kB / 1.221 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3633, allocations: 0 / 1.221 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3633, allocations: 0 / 1.221 GB, free: 9.238 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004183/0.3638, allocations: 360.2 kB / 1.221 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3638, allocations: 12.03 kB / 1.221 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.3638, allocations: 34.75 kB / 1.221 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.3639, allocations: 0.9375 kB / 1.221 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.364, allocations: 180.3 kB / 1.221 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.3641, allocations: 33.95 kB / 1.221 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.3641, allocations: 0 / 1.221 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3642, allocations: 45.67 kB / 1.221 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3642, allocations: 0 / 1.221 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3642, allocations: 0 / 1.221 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.3643, allocations: 0 / 1.221 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.3643, allocations: 19.98 kB / 1.221 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.3651, allocations: 0.595 MB / 1.222 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.3651, allocations: 18.52 kB / 1.222 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.3651, allocations: 8.859 kB / 1.222 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.3653, allocations: 336.5 kB / 1.222 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3653, allocations: 34.56 kB / 1.222 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3654, allocations: 0 / 1.222 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.3655, allocations: 37.69 kB / 1.222 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3655, allocations: 59.28 kB / 1.222 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.3656, allocations: 101.8 kB / 1.222 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3656, allocations: 29.7 kB / 1.222 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.3657, allocations: 88.05 kB / 1.222 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-06/0.3657, allocations: 128 / 1.222 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3657, allocations: 21.62 kB / 1.222 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.3658, allocations: 318.8 kB / 1.223 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.3659, allocations: 7.984 kB / 1.223 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.3659, allocations: 13.72 kB / 1.223 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.3659, allocations: 21.72 kB / 1.223 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3659, allocations: 4 kB / 1.223 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.339e-05/0.366, allocations: 49.62 kB / 1.223 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.366, allocations: 7.938 kB / 1.223 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.366, allocations: 0 / 1.223 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.366, allocations: 4 kB / 1.223 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.3661, allocations: 7.984 kB / 1.223 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.3661, allocations: 0 / 1.223 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.3661, allocations: 3.938 kB / 1.223 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3661, allocations: 4 kB / 1.223 GB, free: 6.422 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.29e-05/0.3662, allocations: 117.8 kB / 1.223 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.3662, allocations: 4 kB / 1.223 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.3663, allocations: 117 kB / 1.223 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/0.3664, allocations: 180.3 kB / 1.223 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-05/0.3665, allocations: 180.2 kB / 1.223 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/0.3665, allocations: 188.2 kB / 1.224 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.3667, allocations: 409.2 kB / 1.224 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/0.3668, allocations: 105 kB / 1.224 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.3668, allocations: 104.9 kB / 1.224 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.296e-05/0.3668, allocations: 184.2 kB / 1.224 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.3669, allocations: 176.3 kB / 1.225 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-05/0.367, allocations: 188.4 kB / 1.225 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-05/0.367, allocations: 176.3 kB / 1.225 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3671, allocations: 315.6 kB / 1.225 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.3672, allocations: 186.1 kB / 1.225 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.3673, allocations: 184.2 kB / 1.226 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3674, allocations: 109 kB / 1.226 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.3675, allocations: 180.5 kB / 1.226 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.3675, allocations: 104.9 kB / 1.226 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.3675, allocations: 91.27 kB / 1.226 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3675, allocations: 0 / 1.226 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000285/0.3678, allocations: 51.94 kB / 1.226 GB, free: 2.918 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005018/0.3683, allocations: 0.9022 MB / 1.227 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.99e-05/0.3684, allocations: 7.984 kB / 1.227 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3684, allocations: 0 / 1.227 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3684, allocations: 0 / 1.227 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3688, allocations: 463.6 kB / 1.227 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.3697, allocations: 1.356 MB / 1.229 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3699, allocations: 0.6729 MB / 1.229 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.3699, allocations: 7.984 kB / 1.229 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.37, allocations: 11.38 kB / 1.229 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.37, allocations: 8 kB / 1.229 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.4786, allocations: 2.196 MB / 1.232 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.465, allocations: 7.594 kB / 1.232 GB, free: 13.25 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches