Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.004984/0.004984, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.00129/0.00129, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 64.08 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7675, allocations: 159.1 MB / 1.22 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1581/0.9257, allocations: 135.4 MB / 1.352 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.9259, allocations: 55.86 kB / 1.352 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.926, allocations: 0 / 1.352 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.9262, allocations: 11.92 kB / 1.352 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.466e-05/0.9263, allocations: 7.938 kB / 1.352 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.9271, allocations: 235 kB / 1.353 GB, free: 9.961 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.294e-05/0.9272, allocations: 39.84 kB / 1.353 GB, free: 9.922 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.9273, allocations: 4 kB / 1.353 GB, free: 9.918 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.9273, allocations: 11.98 kB / 1.353 GB, free: 9.906 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.9274, allocations: 15.92 kB / 1.353 GB, free: 9.891 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.9274, allocations: 0 / 1.353 GB, free: 9.891 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.9279, allocations: 239.4 kB / 1.353 GB, free: 9.656 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.928, allocations: 11.98 kB / 1.353 GB, free: 9.645 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.928, allocations: 7.984 kB / 1.353 GB, free: 9.637 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.9284, allocations: 187.2 kB / 1.353 GB, free: 9.457 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9284, allocations: 0 / 1.353 GB, free: 9.457 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9284, allocations: 4 kB / 1.353 GB, free: 9.453 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.9285, allocations: 0 / 1.353 GB, free: 9.453 MB / 1.076 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.0004402/0.9289, allocations: 359.2 kB / 1.353 GB, free: 9.055 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9289, allocations: 8.031 kB / 1.353 GB, free: 9.047 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.929, allocations: 34.75 kB / 1.354 GB, free: 9.004 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.929, allocations: 4.938 kB / 1.354 GB, free: 9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9292, allocations: 172.3 kB / 1.354 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.9292, allocations: 30.02 kB / 1.354 GB, free: 8.758 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.9292, allocations: 4 kB / 1.354 GB, free: 8.754 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.9294, allocations: 41.62 kB / 1.354 GB, free: 8.707 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9294, allocations: 0 / 1.354 GB, free: 8.707 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.9294, allocations: 4 kB / 1.354 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.9294, allocations: 0 / 1.354 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.9295, allocations: 19.92 kB / 1.354 GB, free: 8.684 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.9303, allocations: 0.5989 MB / 1.354 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.9303, allocations: 22.52 kB / 1.354 GB, free: 7.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.9304, allocations: 8.922 kB / 1.354 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.9306, allocations: 332.4 kB / 1.355 GB, free: 7.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.9306, allocations: 34.56 kB / 1.355 GB, free: 7.477 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9306, allocations: 0 / 1.355 GB, free: 7.477 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.9308, allocations: 41.69 kB / 1.355 GB, free: 7.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.9308, allocations: 51.41 kB / 1.355 GB, free: 7.367 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.9309, allocations: 97.86 kB / 1.355 GB, free: 7.262 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.931, allocations: 29.64 kB / 1.355 GB, free: 7.227 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.931, allocations: 92.08 kB / 1.355 GB, free: 7.133 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.931, allocations: 3.938 kB / 1.355 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.9311, allocations: 17.8 kB / 1.355 GB, free: 7.105 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9312, allocations: 326.8 kB / 1.355 GB, free: 6.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.9312, allocations: 3.984 kB / 1.355 GB, free: 6.773 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.9313, allocations: 13.72 kB / 1.355 GB, free: 6.754 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.9313, allocations: 21.72 kB / 1.355 GB, free: 6.727 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9313, allocations: 0 / 1.355 GB, free: 6.727 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.108e-05/0.9314, allocations: 53.62 kB / 1.355 GB, free: 6.668 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.9314, allocations: 5.719 kB / 1.355 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.9314, allocations: 4 kB / 1.355 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.9314, allocations: 288 / 1.355 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.9315, allocations: 4 kB / 1.355 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.9315, allocations: 0 / 1.355 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.9315, allocations: 7.922 kB / 1.355 GB, free: 6.648 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.9316, allocations: 4 kB / 1.355 GB, free: 6.645 MB / 1.076 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.434e-05/0.9316, allocations: 105.8 kB / 1.356 GB, free: 6.531 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.9317, allocations: 16.05 kB / 1.356 GB, free: 6.516 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.9318, allocations: 120.9 kB / 1.356 GB, free: 6.391 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/0.9319, allocations: 180.2 kB / 1.356 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-05/0.932, allocations: 180.2 kB / 1.356 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.932, allocations: 180.2 kB / 1.356 GB, free: 5.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.9323, allocations: 421 kB / 1.357 GB, free: 5.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-05/0.9323, allocations: 101 kB / 1.357 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.9324, allocations: 105 kB / 1.357 GB, free: 5.156 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.759e-05/0.9325, allocations: 188.2 kB / 1.357 GB, free: 4.965 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.9326, allocations: 180.3 kB / 1.357 GB, free: 4.781 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.9326, allocations: 180.2 kB / 1.357 GB, free: 4.598 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.172e-05/0.9327, allocations: 184.3 kB / 1.358 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.9329, allocations: 315.6 kB / 1.358 GB, free: 4.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.933, allocations: 178.3 kB / 1.358 GB, free: 3.879 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.9331, allocations: 180.2 kB / 1.358 GB, free: 3.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.9332, allocations: 117 kB / 1.358 GB, free: 3.574 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.9333, allocations: 176.3 kB / 1.358 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.9334, allocations: 112.9 kB / 1.359 GB, free: 3.277 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.9334, allocations: 83.28 kB / 1.359 GB, free: 3.195 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9334, allocations: 0 / 1.359 GB, free: 3.195 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003233/0.9338, allocations: 55.8 kB / 1.359 GB, free: 3.141 MB / 1.076 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.0006786/0.9345, allocations: 0.8793 MB / 1.36 GB, free: 2.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.9346, allocations: 23.86 kB / 1.36 GB, free: 2.207 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9346, allocations: 0 / 1.36 GB, free: 2.207 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.9346, allocations: 0 / 1.36 GB, free: 2.207 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.935, allocations: 463.6 kB / 1.36 GB, free: 1.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.9363, allocations: 1.359 MB / 1.361 GB, free: 312 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.9366, allocations: 0.6729 MB / 1.362 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.9367, allocations: 7.984 kB / 1.362 GB, free: 15.6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.9367, allocations: 11.44 kB / 1.362 GB, free: 15.59 MB / 1.092 GB Notification: Performance of SimCode: time 2.51e-07/0.9367, allocations: 0 / 1.362 GB, free: 15.59 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.96, allocations: 2.206 MB / 1.364 GB, free: 13.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.88, allocations: 13.7 kB / 1.364 GB, free: 13.47 MB / 1.092 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches