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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001237/0.001237, allocations: 194 kB / 16.14 MB, free: 6.699 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5437, allocations: 140.4 MB / 0.949 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1348/0.6786, allocations: 133.3 MB / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.6788, allocations: 55.78 kB / 1.079 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.6789, allocations: 0 / 1.079 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.679, allocations: 4 kB / 1.079 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.6791, allocations: 15.91 kB / 1.079 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.6799, allocations: 223.1 kB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.279e-05/0.68, allocations: 59.88 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.6801, allocations: 4 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.6801, allocations: 15.81 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.6802, allocations: 19.92 kB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.6802, allocations: 4 kB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.6807, allocations: 251.3 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.6808, allocations: 4 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.6808, allocations: 11.92 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.6812, allocations: 193.8 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6813, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6813, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.6813, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 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.0004081/0.6817, allocations: 359.5 kB / 1.08 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6817, allocations: 19.97 kB / 1.08 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.6818, allocations: 30.75 kB / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.6818, allocations: 0.9375 kB / 1.08 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6819, allocations: 168.4 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.682, allocations: 30.02 kB / 1.081 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.682, allocations: 0 / 1.081 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6821, allocations: 45.69 kB / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.6822, allocations: 0 / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6822, allocations: 0 / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.6822, allocations: 4 kB / 1.081 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.6823, allocations: 19.92 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.683, allocations: 0.5989 MB / 1.081 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.6831, allocations: 14.58 kB / 1.081 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.6831, allocations: 8.922 kB / 1.081 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.6833, allocations: 340.3 kB / 1.082 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.6833, allocations: 30.56 kB / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.6834, allocations: 0 / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.6835, allocations: 49.53 kB / 1.082 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.6835, allocations: 51.41 kB / 1.082 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.6836, allocations: 109.8 kB / 1.082 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.6837, allocations: 25.7 kB / 1.082 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.6837, allocations: 88.17 kB / 1.082 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.031e-06/0.6837, allocations: 3.938 kB / 1.082 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.6838, allocations: 17.72 kB / 1.082 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6839, allocations: 314.8 kB / 1.082 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.6839, allocations: 7.984 kB / 1.082 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.6839, allocations: 13.72 kB / 1.082 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.684, allocations: 29.66 kB / 1.082 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.684, allocations: 0 / 1.082 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.738e-05/0.684, allocations: 45.69 kB / 1.082 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6841, allocations: 4 kB / 1.082 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6841, allocations: 0 / 1.082 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6841, allocations: 4 kB / 1.082 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.6841, allocations: 11.92 kB / 1.082 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6842, allocations: 3.938 kB / 1.082 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.6842, allocations: 7.844 kB / 1.082 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.6842, allocations: 8.062 kB / 1.082 GB, free: 8.652 MB / 0.8419 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 7.348e-05/0.6843, allocations: 105.8 kB / 1.083 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.6843, allocations: 8 kB / 1.083 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.826e-05/0.6844, allocations: 113 kB / 1.083 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.05e-05/0.6845, allocations: 184.2 kB / 1.083 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.965e-05/0.6846, allocations: 176.3 kB / 1.083 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/0.6846, allocations: 192.1 kB / 1.083 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.6848, allocations: 405.2 kB / 1.084 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.6849, allocations: 101 kB / 1.084 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.6849, allocations: 108.9 kB / 1.084 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-05/0.685, allocations: 184.3 kB / 1.084 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.6851, allocations: 184.2 kB / 1.084 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.715e-05/0.6851, allocations: 176.3 kB / 1.084 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.114e-05/0.6852, allocations: 180.2 kB / 1.084 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.6853, allocations: 315.7 kB / 1.085 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.6854, allocations: 190 kB / 1.085 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.6855, allocations: 176.3 kB / 1.085 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.6856, allocations: 109 kB / 1.085 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.6857, allocations: 180.2 kB / 1.085 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.6857, allocations: 108.9 kB / 1.085 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.6858, allocations: 87.27 kB / 1.086 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6858, allocations: 0 / 1.086 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003082/0.6861, allocations: 59.94 kB / 1.086 GB, free: 5.156 MB / 0.8419 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.0005954/0.6867, allocations: 0.8828 MB / 1.086 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.6868, allocations: 7.984 kB / 1.086 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6868, allocations: 0 / 1.086 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.6868, allocations: 3.938 kB / 1.086 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.6872, allocations: 0.5303 MB / 1.087 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6882, allocations: 1.338 MB / 1.088 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.6885, allocations: 0.6692 MB / 1.089 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.635e-05/0.6885, allocations: 15.98 kB / 1.089 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.6886, allocations: 7.438 kB / 1.089 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.6886, allocations: 0 / 1.089 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1883/0.8769, allocations: 2.07 MB / 1.091 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.8772, allocations: 206.8 kB / 1.091 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.62, allocations: 0 / 1.091 GB, free: 15.34 MB / 0.8575 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