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.001178/0.001178, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001269/0.001269, allocations: 215.6 kB / 23.01 MB, free: 4.609 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.3/1.3, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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 2.904/2.904, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [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.001896/0.001896, allocations: 75.2 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2879, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1482/0.4361, allocations: 138.7 MB / 1.489 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.4363, allocations: 59.84 kB / 1.49 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.4363, allocations: 0 / 1.49 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.4364, allocations: 3.938 kB / 1.49 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.4365, allocations: 19.91 kB / 1.49 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.4373, allocations: 243 kB / 1.49 GB, free: 12.44 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.4374, allocations: 35.84 kB / 1.49 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.4374, allocations: 4 kB / 1.49 GB, free: 12.4 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.4375, allocations: 11.98 kB / 1.49 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.4375, allocations: 19.91 kB / 1.49 GB, free: 12.37 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.4375, allocations: 0 / 1.49 GB, free: 12.37 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.438, allocations: 263.4 kB / 1.49 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.438, allocations: 4 kB / 1.49 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.4381, allocations: 19.91 kB / 1.49 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.4384, allocations: 183.5 kB / 1.49 GB, free: 11.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4384, allocations: 4 kB / 1.49 GB, free: 11.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.093e-06/0.4384, allocations: 0 / 1.49 GB, free: 11.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.4384, allocations: 0 / 1.49 GB, free: 11.91 MB / 1.186 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.0003887/0.4388, allocations: 286 kB / 1.491 GB, free: 11.6 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.4388, allocations: 11.97 kB / 1.491 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.4389, allocations: 0.9375 kB / 1.491 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.4389, allocations: 110.5 kB / 1.491 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.439, allocations: 51.97 kB / 1.491 GB, free: 11.39 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.439, allocations: 7.938 kB / 1.491 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.4391, allocations: 49.66 kB / 1.491 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4392, allocations: 0 / 1.491 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4392, allocations: 0 / 1.491 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.4392, allocations: 0 / 1.491 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.4392, allocations: 19.92 kB / 1.491 GB, free: 11.31 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.4398, allocations: 279.9 kB / 1.491 GB, free: 10.99 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.4398, allocations: 14.58 kB / 1.491 GB, free: 10.97 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.4399, allocations: 8.844 kB / 1.491 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.615e-05/0.4399, allocations: 32.03 kB / 1.491 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.44, allocations: 34.56 kB / 1.491 GB, free: 10.88 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.44, allocations: 4 kB / 1.491 GB, free: 10.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.4401, allocations: 37.58 kB / 1.491 GB, free: 10.84 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4401, allocations: 55.39 kB / 1.491 GB, free: 10.77 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.4402, allocations: 101.9 kB / 1.491 GB, free: 10.66 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4402, allocations: 25.7 kB / 1.491 GB, free: 10.63 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.4403, allocations: 84.09 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.4403, allocations: 15.92 kB / 1.491 GB, free: 10.53 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.4403, allocations: 9.844 kB / 1.491 GB, free: 10.51 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4404, allocations: 322.8 kB / 1.492 GB, free: 10.19 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.4405, allocations: 0 / 1.492 GB, free: 10.19 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.4405, allocations: 25.7 kB / 1.492 GB, free: 10.16 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.4405, allocations: 25.66 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4405, allocations: 0 / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.998e-05/0.4406, allocations: 53.58 kB / 1.492 GB, free: 10.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4406, allocations: 8 kB / 1.492 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4406, allocations: 0 / 1.492 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4406, allocations: 0 / 1.492 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.4407, allocations: 4 kB / 1.492 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4407, allocations: 3.938 kB / 1.492 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.4407, allocations: 8 kB / 1.492 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.4407, allocations: 3.938 kB / 1.492 GB, free: 10.04 MB / 1.186 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.531e-05/0.4408, allocations: 121.7 kB / 1.492 GB, free: 9.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4408, allocations: 4.062 kB / 1.492 GB, free: 9.906 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.4409, allocations: 120.9 kB / 1.492 GB, free: 9.773 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/0.441, allocations: 180.2 kB / 1.492 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-05/0.441, allocations: 176.3 kB / 1.492 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.936e-05/0.4411, allocations: 184.2 kB / 1.493 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.4413, allocations: 380.2 kB / 1.493 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/0.4414, allocations: 108.9 kB / 1.493 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.4414, allocations: 105 kB / 1.493 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.318e-05/0.4415, allocations: 176.3 kB / 1.493 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.4416, allocations: 180.2 kB / 1.494 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.081e-05/0.4416, allocations: 184.2 kB / 1.494 GB, free: 8.027 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.277e-05/0.4417, allocations: 188.4 kB / 1.494 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.4419, allocations: 303.8 kB / 1.494 GB, free: 7.516 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.4419, allocations: 112.9 kB / 1.494 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.442, allocations: 184.3 kB / 1.495 GB, free: 7.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4421, allocations: 108.9 kB / 1.495 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.4422, allocations: 184.2 kB / 1.495 GB, free: 6.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.4422, allocations: 101 kB / 1.495 GB, free: 6.805 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.4423, allocations: 95.16 kB / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.4423, allocations: 0 / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002839/0.4426, allocations: 59.73 kB / 1.495 GB, free: 6.652 MB / 1.186 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.0002889/0.4429, allocations: 258.1 kB / 1.495 GB, free: 6.387 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 6.922e-05/0.4429, allocations: 8 kB / 1.495 GB, free: 6.379 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4429, allocations: 0 / 1.495 GB, free: 6.379 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4429, allocations: 0 / 1.495 GB, free: 6.379 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.4433, allocations: 470 kB / 1.496 GB, free: 5.918 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.4436, allocations: 203.8 kB / 1.496 GB, free: 5.684 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4439, allocations: 0.6768 MB / 1.497 GB, free: 4.98 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.4439, allocations: 11.44 kB / 1.497 GB, free: 4.973 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.4439, allocations: 4 kB / 1.497 GB, free: 4.969 MB / 1.186 GB Notification: Performance of Templates: time 0.002738/0.4466, allocations: 1.242 MB / 1.498 GB, free: 3.73 MB / 1.186 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/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: 10.131877417006763]