Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 220.1 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 0.49 GB / 0.7951 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3206, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1505/0.4712, allocations: 119 MB / 1.442 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.000167/0.4713, allocations: 47.86 kB / 1.442 GB, free: 9.973 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.4714, allocations: 4 kB / 1.442 GB, free: 9.969 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.4715, allocations: 7.938 kB / 1.442 GB, free: 9.961 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.4716, allocations: 7.922 kB / 1.442 GB, free: 9.953 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.4725, allocations: 249.5 kB / 1.442 GB, free: 9.711 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.4725, allocations: 31.91 kB / 1.442 GB, free: 9.68 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.4726, allocations: 0 / 1.442 GB, free: 9.68 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.4726, allocations: 19.92 kB / 1.442 GB, free: 9.66 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.4727, allocations: 19.91 kB / 1.442 GB, free: 9.641 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.4727, allocations: 8 kB / 1.442 GB, free: 9.633 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.4731, allocations: 175.5 kB / 1.443 GB, free: 9.461 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.4731, allocations: 7.984 kB / 1.443 GB, free: 9.453 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.4732, allocations: 8 kB / 1.443 GB, free: 9.445 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.4735, allocations: 167.8 kB / 1.443 GB, free: 9.281 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4735, allocations: 0 / 1.443 GB, free: 9.281 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4735, allocations: 0 / 1.443 GB, free: 9.281 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4735, allocations: 0 / 1.443 GB, free: 9.281 MB / 1.139 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.0003867/0.4739, allocations: 286 kB / 1.443 GB, free: 8.973 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4739, allocations: 11.97 kB / 1.443 GB, free: 8.961 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.4739, allocations: 34.75 kB / 1.443 GB, free: 8.918 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.474, allocations: 4.938 kB / 1.443 GB, free: 8.914 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.4741, allocations: 110.5 kB / 1.443 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.4741, allocations: 63.7 kB / 1.443 GB, free: 8.707 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.4741, allocations: 0 / 1.443 GB, free: 8.707 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.4743, allocations: 63.39 kB / 1.443 GB, free: 8.633 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4743, allocations: 3.938 kB / 1.443 GB, free: 8.629 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.4743, allocations: 0 / 1.443 GB, free: 8.629 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.4743, allocations: 4 kB / 1.443 GB, free: 8.625 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.515e-05/0.4744, allocations: 23.86 kB / 1.443 GB, free: 8.602 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.475, allocations: 284 kB / 1.444 GB, free: 8.281 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.475, allocations: 18.58 kB / 1.444 GB, free: 8.254 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.475, allocations: 8.844 kB / 1.444 GB, free: 8.242 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.4751, allocations: 24.05 kB / 1.444 GB, free: 8.219 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4751, allocations: 30.56 kB / 1.444 GB, free: 8.18 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4751, allocations: 4 kB / 1.444 GB, free: 8.176 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.4753, allocations: 41.62 kB / 1.444 GB, free: 8.129 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4753, allocations: 51.53 kB / 1.444 GB, free: 8.066 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.4754, allocations: 109.8 kB / 1.444 GB, free: 7.949 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4754, allocations: 25.7 kB / 1.444 GB, free: 7.918 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.4755, allocations: 92.02 kB / 1.444 GB, free: 7.824 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-06/0.4755, allocations: 4 kB / 1.444 GB, free: 7.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.4755, allocations: 17.72 kB / 1.444 GB, free: 7.797 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4756, allocations: 314.8 kB / 1.444 GB, free: 7.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.4756, allocations: 4 kB / 1.444 GB, free: 7.477 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.4757, allocations: 17.7 kB / 1.444 GB, free: 7.453 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.4757, allocations: 21.66 kB / 1.444 GB, free: 7.426 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4757, allocations: 4 kB / 1.444 GB, free: 7.422 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.839e-05/0.4758, allocations: 49.69 kB / 1.444 GB, free: 7.367 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4758, allocations: 4 kB / 1.444 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.4758, allocations: 0 / 1.444 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.4758, allocations: 0 / 1.444 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.4759, allocations: 11.94 kB / 1.444 GB, free: 7.352 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4759, allocations: 0 / 1.444 GB, free: 7.352 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.4759, allocations: 11.88 kB / 1.444 GB, free: 7.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4759, allocations: 4 kB / 1.444 GB, free: 7.336 MB / 1.139 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.53e-05/0.476, allocations: 116.2 kB / 1.445 GB, free: 7.215 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.476, allocations: 0 / 1.445 GB, free: 7.215 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.4761, allocations: 113 kB / 1.445 GB, free: 7.094 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.666e-05/0.4762, allocations: 192.1 kB / 1.445 GB, free: 6.898 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/0.4762, allocations: 176.3 kB / 1.445 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.816e-05/0.4763, allocations: 188.1 kB / 1.445 GB, free: 6.527 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.4766, allocations: 372.3 kB / 1.446 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.754e-05/0.4766, allocations: 105 kB / 1.446 GB, free: 6.004 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.4767, allocations: 112.9 kB / 1.446 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.528e-05/0.4767, allocations: 176.3 kB / 1.446 GB, free: 5.707 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.4768, allocations: 188.2 kB / 1.446 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.911e-05/0.4769, allocations: 180.2 kB / 1.446 GB, free: 5.332 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.477, allocations: 180.4 kB / 1.446 GB, free: 5.148 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.4772, allocations: 312.1 kB / 1.447 GB, free: 4.82 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.4772, allocations: 108.9 kB / 1.447 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4773, allocations: 188.2 kB / 1.447 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4775, allocations: 101 kB / 1.447 GB, free: 4.41 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.4775, allocations: 188.2 kB / 1.447 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.4776, allocations: 112.9 kB / 1.447 GB, free: 4.102 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.4776, allocations: 79.28 kB / 1.447 GB, free: 4.023 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.4776, allocations: 4 kB / 1.447 GB, free: 4.02 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003073/0.478, allocations: 63.73 kB / 1.448 GB, free: 3.957 MB / 1.139 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.0005966/0.4786, allocations: 0.8826 MB / 1.448 GB, free: 3.043 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.4786, allocations: 12 kB / 1.448 GB, free: 3.031 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4786, allocations: 4 kB / 1.448 GB, free: 3.027 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.4786, allocations: 3.938 kB / 1.448 GB, free: 3.023 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.479, allocations: 465.6 kB / 1.449 GB, free: 2.566 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4801, allocations: 1.34 MB / 1.45 GB, free: 1.141 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.4802, allocations: 59.34 kB / 1.45 GB, free: 1.062 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.4802, allocations: 8.125 kB / 1.45 GB, free: 1.055 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.4802, allocations: 7.438 kB / 1.45 GB, free: 1.047 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/0.4802, allocations: 0 / 1.45 GB, free: 1.047 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.5085, allocations: 2.783 MB / 1.453 GB, free: 14.39 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.95, allocations: 9.188 kB / 1.453 GB, free: 14.38 MB / 1.154 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.31437733900384]