Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001512/0.001512, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001697/0.001697, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.043/3.043, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.00204/0.00204, allocations: 72.95 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3138, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1444/0.4583, allocations: 119 MB / 1.48 GB, free: 6.68 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.000224/0.4585, allocations: 55.73 kB / 1.48 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.4585, allocations: 0 / 1.48 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.4587, allocations: 7.922 kB / 1.48 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.4588, allocations: 15.92 kB / 1.48 GB, free: 6.605 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4599, allocations: 241.3 kB / 1.48 GB, free: 6.371 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.46, allocations: 35.91 kB / 1.48 GB, free: 6.336 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.46, allocations: 4 kB / 1.48 GB, free: 6.332 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.46, allocations: 15.92 kB / 1.48 GB, free: 6.316 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.4601, allocations: 23.92 kB / 1.48 GB, free: 6.293 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.4601, allocations: 0 / 1.48 GB, free: 6.293 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.4606, allocations: 175.5 kB / 1.48 GB, free: 6.121 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.4607, allocations: 7.984 kB / 1.48 GB, free: 6.113 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.4607, allocations: 4 kB / 1.48 GB, free: 6.109 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.4611, allocations: 171.8 kB / 1.48 GB, free: 5.941 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4611, allocations: 0 / 1.48 GB, free: 5.941 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4611, allocations: 0 / 1.48 GB, free: 5.941 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4611, allocations: 0 / 1.48 GB, free: 5.941 MB / 1.17 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.0004643/0.4616, allocations: 282.1 kB / 1.481 GB, free: 5.637 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4616, allocations: 12.03 kB / 1.481 GB, free: 5.625 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.4617, allocations: 42.69 kB / 1.481 GB, free: 5.574 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.4617, allocations: 0.9375 kB / 1.481 GB, free: 5.574 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.4618, allocations: 110.5 kB / 1.481 GB, free: 5.441 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.4619, allocations: 55.72 kB / 1.481 GB, free: 5.375 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4619, allocations: 7.984 kB / 1.481 GB, free: 5.367 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4621, allocations: 75.31 kB / 1.481 GB, free: 5.281 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4621, allocations: 0 / 1.481 GB, free: 5.281 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4621, allocations: 0 / 1.481 GB, free: 5.281 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4621, allocations: 3.938 kB / 1.481 GB, free: 5.277 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.4621, allocations: 15.98 kB / 1.481 GB, free: 5.262 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006585/0.4628, allocations: 283.9 kB / 1.481 GB, free: 4.941 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.4628, allocations: 14.58 kB / 1.481 GB, free: 4.918 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.4629, allocations: 8.922 kB / 1.481 GB, free: 4.906 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.4629, allocations: 31.97 kB / 1.481 GB, free: 4.875 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.463, allocations: 30.56 kB / 1.481 GB, free: 4.836 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.463, allocations: 0 / 1.481 GB, free: 4.836 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.4631, allocations: 37.64 kB / 1.481 GB, free: 4.793 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4632, allocations: 51.53 kB / 1.481 GB, free: 4.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.4632, allocations: 109.8 kB / 1.481 GB, free: 4.613 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4633, allocations: 25.7 kB / 1.481 GB, free: 4.582 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.4633, allocations: 88.03 kB / 1.482 GB, free: 4.492 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.4633, allocations: 3.953 kB / 1.482 GB, free: 4.488 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.4634, allocations: 21.7 kB / 1.482 GB, free: 4.461 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4635, allocations: 318.8 kB / 1.482 GB, free: 4.141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.4635, allocations: 0 / 1.482 GB, free: 4.141 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.4635, allocations: 17.72 kB / 1.482 GB, free: 4.117 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.4636, allocations: 25.64 kB / 1.482 GB, free: 4.086 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4636, allocations: 4 kB / 1.482 GB, free: 4.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.019e-05/0.4637, allocations: 41.7 kB / 1.482 GB, free: 4.035 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4637, allocations: 14.48 kB / 1.482 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4637, allocations: 0 / 1.482 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4637, allocations: 0 / 1.482 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.4637, allocations: 7.938 kB / 1.482 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4638, allocations: 4 kB / 1.482 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.4638, allocations: 7.938 kB / 1.482 GB, free: 4.004 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4638, allocations: 4 kB / 1.482 GB, free: 4 MB / 1.17 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 9.488e-05/0.4639, allocations: 113.9 kB / 1.482 GB, free: 3.879 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4639, allocations: 0 / 1.482 GB, free: 3.879 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.464, allocations: 124.9 kB / 1.482 GB, free: 3.75 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.823e-05/0.4641, allocations: 184.2 kB / 1.482 GB, free: 3.562 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.901e-05/0.4642, allocations: 180.3 kB / 1.483 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.611e-05/0.4643, allocations: 184.1 kB / 1.483 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.4645, allocations: 376.3 kB / 1.483 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.78e-05/0.4646, allocations: 101 kB / 1.483 GB, free: 2.668 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.4646, allocations: 116.9 kB / 1.483 GB, free: 2.547 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.887e-05/0.4647, allocations: 176.3 kB / 1.483 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.4648, allocations: 184.2 kB / 1.484 GB, free: 2.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.731e-05/0.4649, allocations: 180.4 kB / 1.484 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.047e-05/0.4649, allocations: 176.3 kB / 1.484 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.4651, allocations: 315.7 kB / 1.484 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.4652, allocations: 113.1 kB / 1.484 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.4653, allocations: 180.3 kB / 1.485 GB, free: 1.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4654, allocations: 109 kB / 1.485 GB, free: 1.07 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.4655, allocations: 188.2 kB / 1.485 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.4655, allocations: 104.9 kB / 1.485 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.4656, allocations: 87.27 kB / 1.485 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.4656, allocations: 4 kB / 1.485 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003175/0.4659, allocations: 55.75 kB / 1.485 GB, free: 0.625 MB / 1.17 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.0006668/0.4666, allocations: 0.8709 MB / 1.486 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.4667, allocations: 19.98 kB / 1.486 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4667, allocations: 0 / 1.486 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-06/0.4667, allocations: 3.938 kB / 1.486 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.4671, allocations: 465.9 kB / 1.486 GB, free: 15.24 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4682, allocations: 1.352 MB / 1.488 GB, free: 13.8 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.4683, allocations: 63.33 kB / 1.488 GB, free: 13.72 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.4683, allocations: 12.06 kB / 1.488 GB, free: 13.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.4684, allocations: 11.44 kB / 1.488 GB, free: 13.7 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/0.4684, allocations: 0 / 1.488 GB, free: 13.7 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.4971, allocations: 2.751 MB / 1.49 GB, free: 11.07 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.84, allocations: 17.97 kB / 1.49 GB, free: 11.06 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.120869741309434]