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.007399/0.007399, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001745/0.001745, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.687/2.687, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3284, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8133/1.142, allocations: 135.4 MB / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002466/1.142, allocations: 53 kB / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/1.142, allocations: 0 / 1.298 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/1.142, allocations: 5.297 kB / 1.298 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.726e-05/1.142, allocations: 17.75 kB / 1.298 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/1.144, allocations: 240.6 kB / 1.299 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/1.144, allocations: 30.98 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/1.144, allocations: 6.797 kB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/1.144, allocations: 22.11 kB / 1.299 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/1.144, allocations: 10.11 kB / 1.299 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/1.144, allocations: 2 kB / 1.299 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/1.145, allocations: 240.3 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/1.145, allocations: 12.89 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/1.145, allocations: 4.766 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/1.145, allocations: 188.9 kB / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.145, allocations: 0.7031 kB / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/1.145, allocations: 0 / 1.299 GB, free: 13.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.145, allocations: 0 / 1.299 GB, free: 13.7 MB / 1.014 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.0004917/1.146, allocations: 371.6 kB / 1.299 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.146, allocations: 12.62 kB / 1.299 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/1.146, allocations: 33.33 kB / 1.3 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/1.146, allocations: 0.9375 kB / 1.3 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.146, allocations: 173.3 kB / 1.3 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/1.146, allocations: 30.86 kB / 1.3 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/1.146, allocations: 3.938 kB / 1.3 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/1.146, allocations: 44.95 kB / 1.3 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.146, allocations: 4 kB / 1.3 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.146, allocations: 0 / 1.3 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/1.146, allocations: 3.562 kB / 1.3 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/1.146, allocations: 15.03 kB / 1.3 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/1.147, allocations: 0.607 MB / 1.3 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/1.147, allocations: 17.33 kB / 1.3 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/1.147, allocations: 10.94 kB / 1.3 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/1.148, allocations: 332.9 kB / 1.301 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.148, allocations: 36.75 kB / 1.301 GB, free: 11.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.148, allocations: 0 / 1.301 GB, free: 11.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/1.148, allocations: 37.06 kB / 1.301 GB, free: 11.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/1.148, allocations: 53.44 kB / 1.301 GB, free: 11.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/1.148, allocations: 101.1 kB / 1.301 GB, free: 11.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/1.148, allocations: 31.08 kB / 1.301 GB, free: 11.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/1.148, allocations: 86.64 kB / 1.301 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-06/1.148, allocations: 3.625 kB / 1.301 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/1.148, allocations: 16 kB / 1.301 GB, free: 11.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.148, allocations: 317.5 kB / 1.301 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/1.148, allocations: 5.312 kB / 1.301 GB, free: 11.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/1.148, allocations: 15.25 kB / 1.301 GB, free: 11.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/1.148, allocations: 29.41 kB / 1.301 GB, free: 11.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.148, allocations: 0 / 1.301 GB, free: 11.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.602e-05/1.148, allocations: 48.62 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.148, allocations: 5.984 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.148, allocations: 1.594 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.148, allocations: 1.781 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/1.148, allocations: 10.89 kB / 1.301 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.149, allocations: 8 kB / 1.302 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/1.149, allocations: 1.578 kB / 1.302 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/1.149, allocations: 5.938 kB / 1.302 GB, free: 11.17 MB / 1.014 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 8.167e-05/1.149, allocations: 112.4 kB / 1.302 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/1.149, allocations: 1.922 kB / 1.302 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/1.149, allocations: 114.8 kB / 1.302 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/1.149, allocations: 182.1 kB / 1.302 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.485e-05/1.149, allocations: 189.3 kB / 1.302 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/1.149, allocations: 177 kB / 1.302 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/1.149, allocations: 416.7 kB / 1.303 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/1.149, allocations: 101 kB / 1.303 GB, free: 9.828 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/1.149, allocations: 107.1 kB / 1.303 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-05/1.149, allocations: 186.1 kB / 1.303 GB, free: 9.531 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/1.149, allocations: 178.1 kB / 1.303 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.955e-05/1.15, allocations: 182 kB / 1.303 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.585e-05/1.15, allocations: 182 kB / 1.304 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/1.15, allocations: 313.3 kB / 1.304 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/1.15, allocations: 200.3 kB / 1.304 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/1.15, allocations: 178.4 kB / 1.304 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/1.15, allocations: 106 kB / 1.304 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/1.15, allocations: 181.8 kB / 1.304 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/1.15, allocations: 102.8 kB / 1.305 GB, free: 7.875 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.562e-05/1.15, allocations: 92.77 kB / 1.305 GB, free: 7.793 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.15, allocations: 0 / 1.305 GB, free: 7.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003822/1.151, allocations: 55.14 kB / 1.305 GB, free: 7.781 MB / 1.014 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.0006458/1.151, allocations: 0.8826 MB / 1.306 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/1.151, allocations: 11.3 kB / 1.306 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.151, allocations: 0 / 1.306 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/1.151, allocations: 0 / 1.306 GB, free: 6.953 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/1.152, allocations: 468.8 kB / 1.306 GB, free: 6.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/1.153, allocations: 1.336 MB / 1.307 GB, free: 5.184 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/1.153, allocations: 0.6752 MB / 1.308 GB, free: 4.488 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.17e-05/1.153, allocations: 11.59 kB / 1.308 GB, free: 4.484 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/1.153, allocations: 13.3 kB / 1.308 GB, free: 4.473 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.153, allocations: 0 / 1.308 GB, free: 4.473 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/1.173, allocations: 2.21 MB / 1.31 GB, free: 3.984 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/8.499, allocations: 6.297 kB / 1.31 GB, free: 3.98 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/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