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.001558/0.001558, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001931/0.001931, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.98 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.236/3.236, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002017/0.002017, allocations: 63.44 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3939, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1749/0.5688, allocations: 138.7 MB / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.5691, allocations: 63.84 kB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.5691, allocations: 0 / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.5693, allocations: 0 / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.5694, allocations: 15.91 kB / 1.461 GB, free: 6.695 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.5705, allocations: 252 kB / 1.462 GB, free: 6.449 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.5706, allocations: 35.84 kB / 1.462 GB, free: 6.414 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.5707, allocations: 4 kB / 1.462 GB, free: 6.41 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.5707, allocations: 11.98 kB / 1.462 GB, free: 6.398 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.5708, allocations: 15.92 kB / 1.462 GB, free: 6.383 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.5708, allocations: 0 / 1.462 GB, free: 6.383 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005888/0.5714, allocations: 263.4 kB / 1.462 GB, free: 6.125 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.5714, allocations: 4 kB / 1.462 GB, free: 6.121 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.5715, allocations: 15.92 kB / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.5719, allocations: 183.8 kB / 1.462 GB, free: 5.926 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5719, allocations: 8 kB / 1.462 GB, free: 5.918 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5719, allocations: 0 / 1.462 GB, free: 5.918 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5719, allocations: 0 / 1.462 GB, free: 5.918 MB / 1.154 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.0005946/0.5725, allocations: 290 kB / 1.462 GB, free: 5.605 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5725, allocations: 8.031 kB / 1.462 GB, free: 5.598 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.5726, allocations: 30.75 kB / 1.462 GB, free: 5.559 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.5726, allocations: 8.938 kB / 1.462 GB, free: 5.551 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5728, allocations: 102.5 kB / 1.463 GB, free: 5.426 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.5728, allocations: 67.66 kB / 1.463 GB, free: 5.348 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5729, allocations: 0 / 1.463 GB, free: 5.348 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.573, allocations: 45.67 kB / 1.463 GB, free: 5.297 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.573, allocations: 0 / 1.463 GB, free: 5.297 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.573, allocations: 0 / 1.463 GB, free: 5.297 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.5731, allocations: 7.984 kB / 1.463 GB, free: 5.289 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.5731, allocations: 12 kB / 1.463 GB, free: 5.277 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.5738, allocations: 279.9 kB / 1.463 GB, free: 4.961 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.183e-05/0.5739, allocations: 18.52 kB / 1.463 GB, free: 4.934 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.5739, allocations: 12.92 kB / 1.463 GB, free: 4.918 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.268e-05/0.574, allocations: 27.97 kB / 1.463 GB, free: 4.891 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.574, allocations: 30.56 kB / 1.463 GB, free: 4.852 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.574, allocations: 0 / 1.463 GB, free: 4.852 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.5742, allocations: 33.8 kB / 1.463 GB, free: 4.812 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.5742, allocations: 63.38 kB / 1.463 GB, free: 4.738 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.5743, allocations: 101.8 kB / 1.463 GB, free: 4.629 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.5743, allocations: 25.7 kB / 1.463 GB, free: 4.598 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.5744, allocations: 92.09 kB / 1.463 GB, free: 4.504 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.5744, allocations: 7.875 kB / 1.463 GB, free: 4.496 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.5744, allocations: 17.7 kB / 1.463 GB, free: 4.473 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5746, allocations: 318.8 kB / 1.464 GB, free: 4.152 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.5746, allocations: 11.94 kB / 1.464 GB, free: 4.141 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.5746, allocations: 17.7 kB / 1.464 GB, free: 4.117 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.5747, allocations: 17.72 kB / 1.464 GB, free: 4.094 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5747, allocations: 0 / 1.464 GB, free: 4.094 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.474e-05/0.5748, allocations: 53.62 kB / 1.464 GB, free: 4.035 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5748, allocations: 4 kB / 1.464 GB, free: 4.031 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5748, allocations: 4.062 kB / 1.464 GB, free: 4.027 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5748, allocations: 0 / 1.464 GB, free: 4.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.5748, allocations: 8 kB / 1.464 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5749, allocations: 0 / 1.464 GB, free: 4.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.5749, allocations: 7.891 kB / 1.464 GB, free: 4.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5749, allocations: 0 / 1.464 GB, free: 4.012 MB / 1.154 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.498e-05/0.575, allocations: 114.3 kB / 1.464 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.575, allocations: 3.984 kB / 1.464 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.5751, allocations: 121 kB / 1.464 GB, free: 3.758 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.288e-05/0.5752, allocations: 180.2 kB / 1.464 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.017e-05/0.5753, allocations: 180.3 kB / 1.464 GB, free: 3.391 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.721e-05/0.5754, allocations: 184.5 kB / 1.465 GB, free: 3.203 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.5757, allocations: 380.2 kB / 1.465 GB, free: 2.781 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.943e-05/0.5757, allocations: 105 kB / 1.465 GB, free: 2.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.5758, allocations: 108.9 kB / 1.465 GB, free: 2.559 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-05/0.5759, allocations: 176.3 kB / 1.465 GB, free: 2.379 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.5759, allocations: 188.2 kB / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.439e-05/0.576, allocations: 180.2 kB / 1.466 GB, free: 2.004 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.566e-05/0.5761, allocations: 184.4 kB / 1.466 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.5763, allocations: 315.7 kB / 1.466 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.5763, allocations: 105 kB / 1.466 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/0.5764, allocations: 184.2 kB / 1.466 GB, free: 1.188 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.5766, allocations: 105 kB / 1.466 GB, free: 1.078 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.5767, allocations: 184.2 kB / 1.467 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.5767, allocations: 104.9 kB / 1.467 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.5768, allocations: 91.27 kB / 1.467 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.5768, allocations: 0 / 1.467 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003443/0.5771, allocations: 59.73 kB / 1.467 GB, free: 0.6328 MB / 1.154 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.0006585/0.5778, allocations: 0.8864 MB / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.5778, allocations: 4 kB / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5778, allocations: 128 / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.5778, allocations: 7.938 kB / 1.468 GB, free: 15.7 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.5783, allocations: 467.6 kB / 1.468 GB, free: 15.24 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5794, allocations: 1.34 MB / 1.47 GB, free: 13.82 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5798, allocations: 0.6807 MB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.5798, allocations: 4 kB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.5798, allocations: 7.438 kB / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/0.5798, allocations: 0 / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.6085, allocations: 2.312 MB / 1.472 GB, free: 10.91 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.59, allocations: 9.016 kB / 1.472 GB, free: 10.91 MB / 1.17 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: 18.76355279800009]