Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8404/1.187, allocations: 135.8 MB / 1.347 GB, free: 2.227 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001968/1.187, allocations: 56.97 kB / 1.347 GB, free: 2.195 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/1.187, allocations: 0 / 1.347 GB, free: 2.195 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/1.187, allocations: 1.734 kB / 1.347 GB, free: 2.195 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/1.188, allocations: 13.27 kB / 1.347 GB, free: 2.188 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/1.188, allocations: 241.2 kB / 1.347 GB, free: 2.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/1.188, allocations: 37.56 kB / 1.347 GB, free: 2.055 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/1.189, allocations: 3.016 kB / 1.347 GB, free: 2.055 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/1.189, allocations: 23.44 kB / 1.347 GB, free: 2.043 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/1.189, allocations: 8.562 kB / 1.347 GB, free: 2.043 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/1.189, allocations: 1.125 kB / 1.347 GB, free: 2.043 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/1.189, allocations: 256 kB / 1.347 GB, free: 1.945 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/1.189, allocations: 4.609 kB / 1.347 GB, free: 1.945 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/1.189, allocations: 17.91 kB / 1.347 GB, free: 1.934 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/1.19, allocations: 185.3 kB / 1.347 GB, free: 1.891 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.19, allocations: 0.8125 kB / 1.347 GB, free: 1.891 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/1.19, allocations: 0 / 1.347 GB, free: 1.891 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.19, allocations: 1.656 kB / 1.347 GB, free: 1.891 MB / 1.029 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.0005263/1.19, allocations: 361.3 kB / 1.348 GB, free: 1.516 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.19, allocations: 10.25 kB / 1.348 GB, free: 1.516 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/1.19, allocations: 6.609 kB / 1.348 GB, free: 1.512 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.19, allocations: 162.3 kB / 1.348 GB, free: 1.316 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/1.191, allocations: 32.3 kB / 1.348 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/1.191, allocations: 5.031 kB / 1.348 GB, free: 1.277 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/1.191, allocations: 43.44 kB / 1.348 GB, free: 1.242 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.191, allocations: 0.9688 kB / 1.348 GB, free: 1.242 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.191, allocations: 7.125 kB / 1.348 GB, free: 1.238 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.191, allocations: 1.031 kB / 1.348 GB, free: 1.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/1.191, allocations: 13.36 kB / 1.348 GB, free: 1.238 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/1.192, allocations: 0.6072 MB / 1.349 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/1.192, allocations: 21.56 kB / 1.349 GB, free: 0.543 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/1.192, allocations: 5.953 kB / 1.349 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/1.192, allocations: 334.3 kB / 1.349 GB, free: 160 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/1.192, allocations: 40.03 kB / 1.349 GB, free: 112 kB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.192, allocations: 0 / 1.349 GB, free: 112 kB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/1.192, allocations: 37.38 kB / 1.349 GB, free: 76 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.192, allocations: 53 kB / 1.349 GB, free: 12 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/1.192, allocations: 110 kB / 1.349 GB, free: 15.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/1.192, allocations: 27.05 kB / 1.349 GB, free: 15.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/1.192, allocations: 86.67 kB / 1.349 GB, free: 15.79 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/1.192, allocations: 0 / 1.349 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/1.192, allocations: 23.7 kB / 1.349 GB, free: 15.76 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.193, allocations: 316.5 kB / 1.35 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/1.193, allocations: 2.922 kB / 1.35 GB, free: 15.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/1.193, allocations: 19.16 kB / 1.35 GB, free: 15.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/1.193, allocations: 20.88 kB / 1.35 GB, free: 15.41 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.193, allocations: 1.219 kB / 1.35 GB, free: 15.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.659e-05/1.193, allocations: 57.39 kB / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.193, allocations: 5.406 kB / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.193, allocations: 2.047 kB / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.193, allocations: 0 / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/1.193, allocations: 5.422 kB / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.193, allocations: 1.547 kB / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/1.193, allocations: 1.906 kB / 1.35 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.193, allocations: 6.109 kB / 1.35 GB, free: 15.36 MB / 1.045 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.905e-05/1.193, allocations: 121.3 kB / 1.35 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/1.193, allocations: 1.094 kB / 1.35 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/1.193, allocations: 120.5 kB / 1.35 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.761e-05/1.193, allocations: 177.5 kB / 1.35 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.184e-05/1.193, allocations: 182.7 kB / 1.35 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/1.193, allocations: 186 kB / 1.351 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/1.194, allocations: 408.1 kB / 1.351 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/1.194, allocations: 106.8 kB / 1.351 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/1.194, allocations: 101.7 kB / 1.351 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-05/1.194, allocations: 186.5 kB / 1.351 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/1.194, allocations: 178.2 kB / 1.351 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.663e-05/1.194, allocations: 181.7 kB / 1.352 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001344/1.194, allocations: 182.4 kB / 1.352 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/1.194, allocations: 313.9 kB / 1.352 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/1.195, allocations: 184.3 kB / 1.352 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/1.195, allocations: 179.4 kB / 1.352 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.195, allocations: 113.8 kB / 1.353 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/1.195, allocations: 178.6 kB / 1.353 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/1.195, allocations: 115.1 kB / 1.353 GB, free: 12.04 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.604e-05/1.195, allocations: 81.72 kB / 1.353 GB, free: 11.97 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.195, allocations: 1.156 kB / 1.353 GB, free: 11.97 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003817/1.195, allocations: 62.89 kB / 1.353 GB, free: 11.95 MB / 1.045 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.0003771/1.196, allocations: 254 kB / 1.353 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/1.196, allocations: 11.44 kB / 1.353 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.196, allocations: 1.062 kB / 1.353 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/1.196, allocations: 4.125 kB / 1.353 GB, free: 11.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/1.196, allocations: 462 kB / 1.354 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/1.197, allocations: 207.7 kB / 1.354 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/1.197, allocations: 0.6745 MB / 1.355 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/1.197, allocations: 14.38 kB / 1.355 GB, free: 10.38 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/1.197, allocations: 0 / 1.355 GB, free: 10.38 MB / 1.045 GB Notification: Performance of Templates: time 0.003371/1.2, allocations: 1.237 MB / 1.356 GB, free: 10.23 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.425885856850073]