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.001056/0.001056, 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.0011/0.0011, allocations: 194.3 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.396/2.396, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.84 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7169, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1484/0.8653, allocations: 135.4 MB / 1.082 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.8655, allocations: 59.84 kB / 1.082 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.8656, allocations: 0 / 1.082 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.8658, allocations: 0 / 1.082 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.8659, allocations: 11.92 kB / 1.082 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.867, allocations: 242.9 kB / 1.082 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.8671, allocations: 35.84 kB / 1.082 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.8671, allocations: 3.984 kB / 1.082 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.8672, allocations: 15.94 kB / 1.082 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.8673, allocations: 15.97 kB / 1.082 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.8673, allocations: 0 / 1.082 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.8679, allocations: 247.5 kB / 1.083 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.868, allocations: 3.938 kB / 1.083 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.868, allocations: 19.92 kB / 1.083 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.8685, allocations: 185.9 kB / 1.083 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8685, allocations: 0 / 1.083 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8685, allocations: 0 / 1.083 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8685, allocations: 0 / 1.083 GB, free: 9.09 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.0004635/0.869, allocations: 359.4 kB / 1.083 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.869, allocations: 8.031 kB / 1.083 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.8691, allocations: 34.75 kB / 1.083 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.8691, allocations: 4.938 kB / 1.083 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.8693, allocations: 168.3 kB / 1.083 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.8693, allocations: 34.02 kB / 1.083 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.8694, allocations: 4 kB / 1.083 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.8695, allocations: 41.69 kB / 1.083 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8695, allocations: 0 / 1.083 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.8695, allocations: 0 / 1.083 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.8696, allocations: 4 kB / 1.083 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.8696, allocations: 11.98 kB / 1.083 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.8705, allocations: 0.6105 MB / 1.084 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.8705, allocations: 22.52 kB / 1.084 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.8706, allocations: 4.859 kB / 1.084 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.8708, allocations: 332.5 kB / 1.084 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.8708, allocations: 34.56 kB / 1.084 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.8708, allocations: 0 / 1.084 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.871, allocations: 49.53 kB / 1.084 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.871, allocations: 51.41 kB / 1.084 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.8711, allocations: 97.86 kB / 1.085 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.8712, allocations: 29.7 kB / 1.085 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.8712, allocations: 88.03 kB / 1.085 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-06/0.8712, allocations: 7.938 kB / 1.085 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.8713, allocations: 13.72 kB / 1.085 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8714, allocations: 322.9 kB / 1.085 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.8714, allocations: 0 / 1.085 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.8714, allocations: 17.7 kB / 1.085 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.8715, allocations: 25.66 kB / 1.085 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8715, allocations: 4 kB / 1.085 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.294e-05/0.8716, allocations: 45.69 kB / 1.085 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8716, allocations: 12.06 kB / 1.085 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8716, allocations: 0 / 1.085 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8716, allocations: 0 / 1.085 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.8717, allocations: 4 kB / 1.085 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8717, allocations: 3.938 kB / 1.085 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.8717, allocations: 11.84 kB / 1.085 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.8717, allocations: 3.984 kB / 1.085 GB, free: 6.27 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.937e-05/0.8718, allocations: 109.8 kB / 1.085 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.8719, allocations: 0 / 1.085 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.872, allocations: 124.9 kB / 1.085 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/0.8721, allocations: 184.5 kB / 1.086 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.776e-05/0.8721, allocations: 176.3 kB / 1.086 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-05/0.8722, allocations: 188.2 kB / 1.086 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.8724, allocations: 409.2 kB / 1.086 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/0.8725, allocations: 105 kB / 1.086 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.8725, allocations: 104.9 kB / 1.086 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.635e-05/0.8726, allocations: 180.2 kB / 1.087 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/0.8727, allocations: 188.2 kB / 1.087 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-05/0.8727, allocations: 180.3 kB / 1.087 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-05/0.8728, allocations: 184.3 kB / 1.087 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.8729, allocations: 311.7 kB / 1.087 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.873, allocations: 182 kB / 1.088 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.8731, allocations: 180.5 kB / 1.088 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.8733, allocations: 105 kB / 1.088 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.8733, allocations: 192.2 kB / 1.088 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.8734, allocations: 108.9 kB / 1.088 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.8734, allocations: 83.28 kB / 1.088 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8734, allocations: 0 / 1.088 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000317/0.8737, allocations: 63.92 kB / 1.088 GB, free: 2.758 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.0005296/0.8743, allocations: 0.883 MB / 1.089 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.8744, allocations: 15.98 kB / 1.089 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8744, allocations: 0 / 1.089 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.8744, allocations: 0 / 1.089 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.8748, allocations: 468.7 kB / 1.09 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.8758, allocations: 1.332 MB / 1.091 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.876, allocations: 0.6768 MB / 1.092 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.8761, allocations: 4 kB / 1.092 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.8761, allocations: 19.36 kB / 1.092 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.8761, allocations: 0 / 1.092 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.8953, allocations: 2.176 MB / 1.094 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/8.219, allocations: 10.66 kB / 1.094 GB, free: 13.12 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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/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