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.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.001943/0.001943, allocations: 113 kB / 16.46 MB, free: 6.453 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.002245/0.002245, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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"}) [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.002043/0.002043, allocations: 65.59 kB / 1.112 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3496, allocations: 169.9 MB / 1.278 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1705/0.5201, allocations: 138.6 MB / 1.414 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001803/0.5202, allocations: 47.81 kB / 1.414 GB, free: 9.992 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.5203, allocations: 0 / 1.414 GB, free: 9.992 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.5204, allocations: 7.984 kB / 1.414 GB, free: 9.984 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.5206, allocations: 15.92 kB / 1.414 GB, free: 9.969 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.5214, allocations: 243 kB / 1.414 GB, free: 9.73 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.656e-05/0.5215, allocations: 31.86 kB / 1.414 GB, free: 9.699 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.5216, allocations: 8 kB / 1.414 GB, free: 9.691 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.5216, allocations: 15.97 kB / 1.414 GB, free: 9.676 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.5217, allocations: 11.94 kB / 1.414 GB, free: 9.664 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.5217, allocations: 0 / 1.414 GB, free: 9.664 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.5223, allocations: 251.4 kB / 1.414 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.5223, allocations: 11.97 kB / 1.414 GB, free: 9.406 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.5223, allocations: 7.938 kB / 1.414 GB, free: 9.398 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.5228, allocations: 187.8 kB / 1.414 GB, free: 9.215 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5228, allocations: 0 / 1.414 GB, free: 9.215 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5228, allocations: 0 / 1.414 GB, free: 9.215 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5228, allocations: 4 kB / 1.414 GB, free: 9.211 MB / 1.123 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.0004977/0.5233, allocations: 367.1 kB / 1.415 GB, free: 8.805 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5234, allocations: 8.031 kB / 1.415 GB, free: 8.797 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.5234, allocations: 38.75 kB / 1.415 GB, free: 8.75 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.5234, allocations: 4.891 kB / 1.415 GB, free: 8.746 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.5236, allocations: 160.4 kB / 1.415 GB, free: 8.551 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.5236, allocations: 38.02 kB / 1.415 GB, free: 8.508 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.5237, allocations: 0 / 1.415 GB, free: 8.508 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.5238, allocations: 45.62 kB / 1.415 GB, free: 8.457 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5238, allocations: 0 / 1.415 GB, free: 8.457 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5238, allocations: 4 kB / 1.415 GB, free: 8.453 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.5238, allocations: 7.984 kB / 1.415 GB, free: 8.445 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.5239, allocations: 8 kB / 1.415 GB, free: 8.438 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.5247, allocations: 0.595 MB / 1.416 GB, free: 7.719 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.549e-05/0.5248, allocations: 30.52 kB / 1.416 GB, free: 7.68 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.5248, allocations: 4.859 kB / 1.416 GB, free: 7.672 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.5251, allocations: 336.5 kB / 1.416 GB, free: 7.27 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5251, allocations: 30.56 kB / 1.416 GB, free: 7.23 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5251, allocations: 0 / 1.416 GB, free: 7.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.5253, allocations: 33.69 kB / 1.416 GB, free: 7.191 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.5253, allocations: 59.41 kB / 1.416 GB, free: 7.121 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.5254, allocations: 102 kB / 1.416 GB, free: 7.012 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5255, allocations: 29.64 kB / 1.416 GB, free: 6.977 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.5255, allocations: 92.09 kB / 1.416 GB, free: 6.883 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.5255, allocations: 11.83 kB / 1.416 GB, free: 6.871 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.5256, allocations: 17.7 kB / 1.416 GB, free: 6.848 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5257, allocations: 318.8 kB / 1.417 GB, free: 6.527 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.5257, allocations: 4 kB / 1.417 GB, free: 6.523 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.5258, allocations: 17.72 kB / 1.417 GB, free: 6.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.5258, allocations: 21.7 kB / 1.417 GB, free: 6.473 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5258, allocations: 0 / 1.417 GB, free: 6.473 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.89e-05/0.5259, allocations: 49.62 kB / 1.417 GB, free: 6.418 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5259, allocations: 10.34 kB / 1.417 GB, free: 6.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5259, allocations: 3.938 kB / 1.417 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5259, allocations: 0 / 1.417 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.526, allocations: 8.062 kB / 1.417 GB, free: 6.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.526, allocations: 4 kB / 1.417 GB, free: 6.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.526, allocations: 3.938 kB / 1.417 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.526, allocations: 0 / 1.417 GB, free: 6.391 MB / 1.123 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.345e-05/0.5261, allocations: 109.8 kB / 1.417 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.5261, allocations: 3.953 kB / 1.417 GB, free: 6.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.5263, allocations: 124.9 kB / 1.417 GB, free: 6.137 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.4e-05/0.5264, allocations: 180.3 kB / 1.417 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.766e-05/0.5264, allocations: 180.2 kB / 1.417 GB, free: 5.77 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.663e-05/0.5265, allocations: 192.2 kB / 1.418 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.5269, allocations: 405.2 kB / 1.418 GB, free: 5.121 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/0.5269, allocations: 105 kB / 1.418 GB, free: 5.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.527, allocations: 101 kB / 1.418 GB, free: 4.906 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.5271, allocations: 184.2 kB / 1.418 GB, free: 4.719 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.378e-05/0.5272, allocations: 180.3 kB / 1.418 GB, free: 4.535 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001004/0.5273, allocations: 184.2 kB / 1.419 GB, free: 4.348 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001608/0.5275, allocations: 180.4 kB / 1.419 GB, free: 4.164 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.5277, allocations: 315.7 kB / 1.419 GB, free: 3.832 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.5278, allocations: 178.1 kB / 1.419 GB, free: 3.633 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5279, allocations: 192.2 kB / 1.419 GB, free: 3.438 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.5281, allocations: 101 kB / 1.42 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5282, allocations: 180.3 kB / 1.42 GB, free: 3.148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.5283, allocations: 112.9 kB / 1.42 GB, free: 3.031 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.755e-05/0.5283, allocations: 87.27 kB / 1.42 GB, free: 2.945 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/0.5283, allocations: 0 / 1.42 GB, free: 2.945 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003768/0.5287, allocations: 63.73 kB / 1.42 GB, free: 2.883 MB / 1.123 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.0007894/0.5295, allocations: 0.8793 MB / 1.421 GB, free: 1.973 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.5296, allocations: 19.81 kB / 1.421 GB, free: 1.953 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5296, allocations: 0 / 1.421 GB, free: 1.953 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.5296, allocations: 0 / 1.421 GB, free: 1.953 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.53, allocations: 471.7 kB / 1.421 GB, free: 1.488 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.5313, allocations: 1.347 MB / 1.423 GB, free: 56 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.5317, allocations: 0.6768 MB / 1.423 GB, free: 15.35 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.5317, allocations: 8.422 kB / 1.423 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.5318, allocations: 7.438 kB / 1.423 GB, free: 15.34 MB / 1.139 GB Notification: Performance of SimCode: time 3.7e-07/0.5318, allocations: 0 / 1.423 GB, free: 15.34 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.5575, allocations: 2.224 MB / 1.426 GB, free: 13.21 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.676, allocations: 14 kB / 1.426 GB, free: 13.2 MB / 1.139 GB " [Timeout remaining time 291] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.145740477833897]