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.001586/0.001586, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001948/0.001948, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.809 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.086/3.086, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.002025/0.002025, allocations: 68.28 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3219, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1447/0.4666, allocations: 119 MB / 1.441 GB, free: 10.94 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/0.4668, allocations: 51.86 kB / 1.441 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.4668, allocations: 0 / 1.441 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4669, allocations: 7.922 kB / 1.441 GB, free: 10.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.467, allocations: 11.98 kB / 1.441 GB, free: 10.87 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.4679, allocations: 246.9 kB / 1.442 GB, free: 10.63 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.468, allocations: 39.84 kB / 1.442 GB, free: 10.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.468, allocations: 0 / 1.442 GB, free: 10.59 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.468, allocations: 11.98 kB / 1.442 GB, free: 10.58 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.4681, allocations: 11.98 kB / 1.442 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.4681, allocations: 3.938 kB / 1.442 GB, free: 10.56 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.4685, allocations: 183.5 kB / 1.442 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.4686, allocations: 4 kB / 1.442 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.4686, allocations: 11.98 kB / 1.442 GB, free: 10.37 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.4689, allocations: 171.8 kB / 1.442 GB, free: 10.2 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4689, allocations: 0 / 1.442 GB, free: 10.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4689, allocations: 0 / 1.442 GB, free: 10.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4689, allocations: 0 / 1.442 GB, free: 10.2 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.0004111/0.4693, allocations: 286 kB / 1.442 GB, free: 9.891 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4694, allocations: 12.03 kB / 1.442 GB, free: 9.879 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.4694, allocations: 30.75 kB / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.4694, allocations: 0.9375 kB / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4696, allocations: 110.5 kB / 1.442 GB, free: 9.707 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.4696, allocations: 63.66 kB / 1.442 GB, free: 9.633 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4696, allocations: 7.938 kB / 1.442 GB, free: 9.625 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.4698, allocations: 71.36 kB / 1.443 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.4698, allocations: 0 / 1.443 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.4698, allocations: 0 / 1.443 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.4698, allocations: 0 / 1.443 GB, free: 9.543 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.4698, allocations: 19.98 kB / 1.443 GB, free: 9.523 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.4704, allocations: 279.9 kB / 1.443 GB, free: 9.207 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.178e-05/0.4705, allocations: 26.52 kB / 1.443 GB, free: 9.172 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.4705, allocations: 8.922 kB / 1.443 GB, free: 9.16 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/0.4706, allocations: 27.97 kB / 1.443 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4706, allocations: 30.56 kB / 1.443 GB, free: 9.094 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.4706, allocations: 0 / 1.443 GB, free: 9.094 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.4707, allocations: 41.66 kB / 1.443 GB, free: 9.047 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4708, allocations: 55.34 kB / 1.443 GB, free: 8.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.4708, allocations: 105.8 kB / 1.443 GB, free: 8.867 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4709, allocations: 25.7 kB / 1.443 GB, free: 8.836 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.4709, allocations: 92.16 kB / 1.443 GB, free: 8.742 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.4709, allocations: 0 / 1.443 GB, free: 8.742 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.471, allocations: 17.72 kB / 1.443 GB, free: 8.719 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.4711, allocations: 322.8 kB / 1.444 GB, free: 8.395 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.4711, allocations: 0 / 1.444 GB, free: 8.395 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.4711, allocations: 13.72 kB / 1.444 GB, free: 8.375 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.4712, allocations: 25.7 kB / 1.444 GB, free: 8.344 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4712, allocations: 0 / 1.444 GB, free: 8.344 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.2e-05/0.4713, allocations: 45.7 kB / 1.444 GB, free: 8.293 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4713, allocations: 15.98 kB / 1.444 GB, free: 8.277 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4713, allocations: 0 / 1.444 GB, free: 8.277 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4713, allocations: 0 / 1.444 GB, free: 8.277 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.4713, allocations: 4 kB / 1.444 GB, free: 8.273 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4713, allocations: 0 / 1.444 GB, free: 8.273 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.4714, allocations: 11.89 kB / 1.444 GB, free: 8.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4714, allocations: 0 / 1.444 GB, free: 8.262 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 8.115e-05/0.4715, allocations: 118.3 kB / 1.444 GB, free: 8.137 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4715, allocations: 0 / 1.444 GB, free: 8.137 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4716, allocations: 121 kB / 1.444 GB, free: 8.008 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.487e-05/0.4717, allocations: 180.2 kB / 1.444 GB, free: 7.824 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-05/0.4717, allocations: 180.3 kB / 1.444 GB, free: 7.641 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.4718, allocations: 184.2 kB / 1.444 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.472, allocations: 376.2 kB / 1.445 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/0.4721, allocations: 101 kB / 1.445 GB, free: 6.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.4721, allocations: 124.9 kB / 1.445 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.4722, allocations: 176.3 kB / 1.445 GB, free: 6.621 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.4723, allocations: 184.1 kB / 1.445 GB, free: 6.434 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.4724, allocations: 184.4 kB / 1.445 GB, free: 6.246 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.89e-05/0.4724, allocations: 176.3 kB / 1.446 GB, free: 6.066 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.4726, allocations: 319.7 kB / 1.446 GB, free: 5.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.4727, allocations: 105 kB / 1.446 GB, free: 5.621 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.4727, allocations: 180.2 kB / 1.446 GB, free: 5.438 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.4729, allocations: 109 kB / 1.446 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.473, allocations: 188.2 kB / 1.447 GB, free: 5.133 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.473, allocations: 105.2 kB / 1.447 GB, free: 5.023 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.4731, allocations: 83.27 kB / 1.447 GB, free: 4.941 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.4731, allocations: 0 / 1.447 GB, free: 4.941 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003158/0.4734, allocations: 55.75 kB / 1.447 GB, free: 4.887 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.0006661/0.4741, allocations: 0.8904 MB / 1.448 GB, free: 3.965 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.663e-05/0.4741, allocations: 11.98 kB / 1.448 GB, free: 3.953 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4742, allocations: 0 / 1.448 GB, free: 3.953 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.4742, allocations: 0 / 1.448 GB, free: 3.953 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.4746, allocations: 469.8 kB / 1.448 GB, free: 3.492 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4759, allocations: 1.344 MB / 1.449 GB, free: 2.062 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.4759, allocations: 55.36 kB / 1.449 GB, free: 1.988 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.315e-05/0.4759, allocations: 11.98 kB / 1.449 GB, free: 1.977 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.476, allocations: 7.438 kB / 1.449 GB, free: 1.969 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/0.476, allocations: 3.938 kB / 1.449 GB, free: 1.965 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.5068, allocations: 2.759 MB / 1.452 GB, free: 15.33 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.46, allocations: 0 / 1.452 GB, free: 15.33 MB / 1.154 GB " [Timeout remaining time 288] (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.973908638115972]