Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 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.001864/0.001864, allocations: 197 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5493, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1291/0.6784, allocations: 135.4 MB / 1.15 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.6786, allocations: 59.78 kB / 1.15 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.6786, allocations: 0 / 1.15 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.6788, allocations: 4 kB / 1.15 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.6789, allocations: 11.94 kB / 1.15 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.6796, allocations: 238.8 kB / 1.15 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.6797, allocations: 43.78 kB / 1.15 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.6798, allocations: 0 / 1.15 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.6798, allocations: 15.98 kB / 1.15 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.6799, allocations: 11.98 kB / 1.15 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.6799, allocations: 0 / 1.15 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.6803, allocations: 243.4 kB / 1.15 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.6804, allocations: 15.91 kB / 1.15 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.6804, allocations: 4 kB / 1.15 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.6808, allocations: 201.8 kB / 1.15 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6808, allocations: 0 / 1.15 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6808, allocations: 0 / 1.15 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.6808, allocations: 0 / 1.15 GB, free: 9.742 MB / 0.9044 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.0003713/0.6812, allocations: 359.4 kB / 1.151 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.6812, allocations: 8.031 kB / 1.151 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.6812, allocations: 34.75 kB / 1.151 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.6813, allocations: 4.938 kB / 1.151 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/0.6814, allocations: 164.4 kB / 1.151 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.6814, allocations: 30.02 kB / 1.151 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.6814, allocations: 7.984 kB / 1.151 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.6816, allocations: 41.69 kB / 1.151 GB, free: 9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.6816, allocations: 4 kB / 1.151 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.6816, allocations: 0 / 1.151 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.6816, allocations: 7.938 kB / 1.151 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.6817, allocations: 11.98 kB / 1.151 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006641/0.6823, allocations: 0.5988 MB / 1.152 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.6824, allocations: 22.58 kB / 1.152 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.6824, allocations: 8.859 kB / 1.152 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.6826, allocations: 332.5 kB / 1.152 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.6826, allocations: 34.56 kB / 1.152 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6826, allocations: 3.938 kB / 1.152 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.000141/0.6828, allocations: 37.69 kB / 1.152 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.6828, allocations: 51.41 kB / 1.152 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.6829, allocations: 102 kB / 1.152 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.6829, allocations: 33.7 kB / 1.152 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.6829, allocations: 84.05 kB / 1.152 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-06/0.683, allocations: 7.938 kB / 1.152 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.683, allocations: 13.72 kB / 1.152 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.6831, allocations: 318.8 kB / 1.153 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.6831, allocations: 3.984 kB / 1.153 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.6831, allocations: 13.72 kB / 1.153 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.6832, allocations: 29.66 kB / 1.153 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.6832, allocations: 0 / 1.153 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.394e-05/0.6832, allocations: 49.62 kB / 1.153 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6833, allocations: 8 kB / 1.153 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.6833, allocations: 0 / 1.153 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.6833, allocations: 0 / 1.153 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.6833, allocations: 7.984 kB / 1.153 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6833, allocations: 4.062 kB / 1.153 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.6834, allocations: 11.84 kB / 1.153 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.6834, allocations: 0 / 1.153 GB, free: 6.934 MB / 0.9044 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.139e-05/0.6834, allocations: 113.8 kB / 1.153 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.6835, allocations: 0 / 1.153 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.6836, allocations: 124.9 kB / 1.153 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/0.6836, allocations: 176.3 kB / 1.153 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/0.6837, allocations: 180.3 kB / 1.153 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/0.6837, allocations: 188.1 kB / 1.154 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.6839, allocations: 401.2 kB / 1.154 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.684, allocations: 112.9 kB / 1.154 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.684, allocations: 105 kB / 1.154 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.76e-05/0.6841, allocations: 180.3 kB / 1.154 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.6841, allocations: 188.2 kB / 1.154 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.816e-05/0.6842, allocations: 184.3 kB / 1.155 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.798e-05/0.6842, allocations: 180.2 kB / 1.155 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.6843, allocations: 315.7 kB / 1.155 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.6844, allocations: 178.4 kB / 1.155 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.6845, allocations: 180.5 kB / 1.155 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.6846, allocations: 108.9 kB / 1.156 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.6847, allocations: 180.3 kB / 1.156 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.6847, allocations: 116.9 kB / 1.156 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.6848, allocations: 91.27 kB / 1.156 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6848, allocations: 0 / 1.156 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002849/0.6851, allocations: 51.94 kB / 1.156 GB, free: 3.426 MB / 0.9044 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.0005015/0.6856, allocations: 0.8828 MB / 1.157 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.24e-05/0.6856, allocations: 15.92 kB / 1.157 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6856, allocations: 0 / 1.157 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.6857, allocations: 0 / 1.157 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.686, allocations: 475.7 kB / 1.157 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.6869, allocations: 1.332 MB / 1.159 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.6872, allocations: 0.6767 MB / 1.159 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.6872, allocations: 11.98 kB / 1.159 GB, free: 15.9 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.6873, allocations: 7.438 kB / 1.159 GB, free: 15.89 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.6873, allocations: 0 / 1.159 GB, free: 15.89 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/0.8116, allocations: 2.181 MB / 1.161 GB, free: 13.79 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.977/10.79, allocations: 4.578 kB / 1.161 GB, free: 13.78 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches