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.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.001888/0.001888, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002385/0.002385, allocations: 200.5 kB / 22.17 MB, free: 5.203 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.523/1.523, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8615, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1705/1.032, allocations: 135.8 MB / 1.407 GB, free: 12.23 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001811/1.032, allocations: 55.88 kB / 1.407 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/1.032, allocations: 0 / 1.407 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/1.032, allocations: 7.922 kB / 1.407 GB, free: 12.16 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/1.032, allocations: 11.92 kB / 1.407 GB, free: 12.15 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/1.033, allocations: 239 kB / 1.407 GB, free: 11.92 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/1.033, allocations: 39.86 kB / 1.407 GB, free: 11.88 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/1.033, allocations: 0 / 1.407 GB, free: 11.88 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/1.033, allocations: 19.97 kB / 1.407 GB, free: 11.86 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/1.034, allocations: 11.94 kB / 1.407 GB, free: 11.85 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/1.034, allocations: 0 / 1.407 GB, free: 11.85 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/1.034, allocations: 243.5 kB / 1.407 GB, free: 11.61 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/1.034, allocations: 15.91 kB / 1.407 GB, free: 11.59 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/1.034, allocations: 11.94 kB / 1.407 GB, free: 11.58 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/1.035, allocations: 190.2 kB / 1.407 GB, free: 11.4 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.035, allocations: 4 kB / 1.407 GB, free: 11.39 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.403e-06/1.035, allocations: 0 / 1.407 GB, free: 11.39 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.035, allocations: 4 kB / 1.407 GB, free: 11.39 MB / 1.107 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.0005139/1.035, allocations: 359.2 kB / 1.408 GB, free: 10.99 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.035, allocations: 8.031 kB / 1.408 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/1.035, allocations: 0.9375 kB / 1.408 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/1.035, allocations: 168.3 kB / 1.408 GB, free: 10.78 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.486e-05/1.035, allocations: 26.27 kB / 1.408 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/1.035, allocations: 11.92 kB / 1.408 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/1.036, allocations: 41.69 kB / 1.408 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.036, allocations: 4 kB / 1.408 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.036, allocations: 0 / 1.408 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/1.036, allocations: 0 / 1.408 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/1.036, allocations: 11.98 kB / 1.408 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/1.037, allocations: 0.6105 MB / 1.409 GB, free: 9.941 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/1.037, allocations: 22.55 kB / 1.409 GB, free: 9.91 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/1.037, allocations: 8.859 kB / 1.409 GB, free: 9.898 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/1.037, allocations: 336.5 kB / 1.409 GB, free: 9.496 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.037, allocations: 30.56 kB / 1.409 GB, free: 9.457 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.037, allocations: 0 / 1.409 GB, free: 9.457 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001741/1.037, allocations: 41.64 kB / 1.409 GB, free: 9.41 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/1.037, allocations: 59.47 kB / 1.409 GB, free: 9.34 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.037, allocations: 105.8 kB / 1.409 GB, free: 9.227 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.037, allocations: 25.7 kB / 1.409 GB, free: 9.195 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/1.037, allocations: 88.09 kB / 1.409 GB, free: 9.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/1.037, allocations: 0 / 1.409 GB, free: 9.105 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/1.037, allocations: 21.67 kB / 1.409 GB, free: 9.078 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.038, allocations: 318.8 kB / 1.41 GB, free: 8.758 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/1.038, allocations: 4 kB / 1.41 GB, free: 8.754 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/1.038, allocations: 21.72 kB / 1.41 GB, free: 8.727 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/1.038, allocations: 21.7 kB / 1.41 GB, free: 8.699 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.038, allocations: 0 / 1.41 GB, free: 8.699 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.299e-05/1.038, allocations: 49.64 kB / 1.41 GB, free: 8.645 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.038, allocations: 7.984 kB / 1.41 GB, free: 8.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.038, allocations: 0 / 1.41 GB, free: 8.637 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.038, allocations: 4.062 kB / 1.41 GB, free: 8.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/1.038, allocations: 8 kB / 1.41 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.038, allocations: 0 / 1.41 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/1.038, allocations: 0 / 1.41 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/1.038, allocations: 11.88 kB / 1.41 GB, free: 8.613 MB / 1.107 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 0.0001047/1.038, allocations: 110.4 kB / 1.41 GB, free: 8.496 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/1.038, allocations: 0 / 1.41 GB, free: 8.496 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/1.038, allocations: 120.9 kB / 1.41 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.457e-05/1.038, allocations: 184.2 kB / 1.41 GB, free: 8.18 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-05/1.038, allocations: 180.3 kB / 1.41 GB, free: 7.996 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.246e-05/1.038, allocations: 180.3 kB / 1.411 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/1.039, allocations: 409.1 kB / 1.411 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/1.039, allocations: 108.9 kB / 1.411 GB, free: 7.242 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/1.039, allocations: 112.9 kB / 1.411 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.1e-05/1.039, allocations: 176.3 kB / 1.411 GB, free: 6.945 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/1.039, allocations: 180.3 kB / 1.411 GB, free: 6.762 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.998e-05/1.039, allocations: 180.2 kB / 1.412 GB, free: 6.578 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-05/1.039, allocations: 180.2 kB / 1.412 GB, free: 6.395 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/1.039, allocations: 315.9 kB / 1.412 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.04, allocations: 182.3 kB / 1.412 GB, free: 5.859 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.04, allocations: 184.2 kB / 1.412 GB, free: 5.672 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.04, allocations: 117 kB / 1.413 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.04, allocations: 184.2 kB / 1.413 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/1.04, allocations: 105 kB / 1.413 GB, free: 5.254 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.031e-05/1.04, allocations: 91.2 kB / 1.413 GB, free: 5.164 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.04, allocations: 0 / 1.413 GB, free: 5.164 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000336/1.04, allocations: 59.75 kB / 1.413 GB, free: 5.105 MB / 1.107 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.0003614/1.041, allocations: 254.2 kB / 1.413 GB, free: 4.848 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/1.041, allocations: 19.86 kB / 1.413 GB, free: 4.828 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.041, allocations: 0 / 1.413 GB, free: 4.828 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/1.041, allocations: 4 kB / 1.413 GB, free: 4.824 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/1.041, allocations: 459.8 kB / 1.414 GB, free: 4.371 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/1.042, allocations: 185.8 kB / 1.414 GB, free: 4.164 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/1.042, allocations: 0.6729 MB / 1.415 GB, free: 3.465 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.76e-05/1.042, allocations: 11.92 kB / 1.415 GB, free: 3.453 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/1.042, allocations: 7.438 kB / 1.415 GB, free: 3.445 MB / 1.107 GB Notification: Performance of SimCode: time 3.21e-07/1.042, allocations: 8 kB / 1.415 GB, free: 3.438 MB / 1.107 GB Notification: Performance of Templates: time 0.004443/1.046, allocations: 1.287 MB / 1.416 GB, free: 2.156 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.079345264937729]