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.001481/0.001481, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001699/0.001699, allocations: 189.3 kB / 22.22 MB, free: 5.105 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.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.02 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.789/2.789, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.002094/0.002094, allocations: 67.89 kB / 1.109 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1623/1.204, allocations: 135.8 MB / 1.407 GB, free: 11.87 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001924/1.204, allocations: 55.84 kB / 1.407 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/1.204, allocations: 0 / 1.407 GB, free: 11.81 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/1.204, allocations: 7.938 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 9.525e-05/1.204, allocations: 15.91 kB / 1.407 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/1.205, allocations: 242.3 kB / 1.407 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/1.206, allocations: 35.91 kB / 1.407 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/1.206, allocations: 11.94 kB / 1.407 GB, free: 11.51 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/1.206, allocations: 11.98 kB / 1.407 GB, free: 11.5 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/1.206, allocations: 19.92 kB / 1.407 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/1.206, allocations: 0 / 1.407 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/1.206, allocations: 251.4 kB / 1.408 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/1.206, allocations: 7.938 kB / 1.408 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/1.206, allocations: 11.94 kB / 1.408 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/1.207, allocations: 190 kB / 1.408 GB, free: 11.03 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.207, allocations: 0 / 1.408 GB, free: 11.03 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.446e-06/1.207, allocations: 4 kB / 1.408 GB, free: 11.03 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.78e-06/1.207, allocations: 4 kB / 1.408 GB, free: 11.02 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.0004417/1.207, allocations: 282.1 kB / 1.408 GB, free: 10.72 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.207, allocations: 8.031 kB / 1.408 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/1.207, allocations: 0.9375 kB / 1.408 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/1.207, allocations: 110.5 kB / 1.408 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/1.207, allocations: 26.27 kB / 1.408 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.207, allocations: 7.938 kB / 1.408 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/1.208, allocations: 41.69 kB / 1.408 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.208, allocations: 7.938 kB / 1.408 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.208, allocations: 0 / 1.408 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/1.208, allocations: 0 / 1.408 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/1.208, allocations: 23.98 kB / 1.408 GB, free: 10.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/1.208, allocations: 279.8 kB / 1.409 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/1.208, allocations: 30.52 kB / 1.409 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/1.208, allocations: 8.859 kB / 1.409 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/1.208, allocations: 31.97 kB / 1.409 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/1.208, allocations: 34.56 kB / 1.409 GB, free: 10.02 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/1.209, allocations: 0 / 1.409 GB, free: 10.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/1.209, allocations: 33.64 kB / 1.409 GB, free: 9.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.209, allocations: 55.41 kB / 1.409 GB, free: 9.914 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/1.209, allocations: 110 kB / 1.409 GB, free: 9.797 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/1.209, allocations: 25.7 kB / 1.409 GB, free: 9.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/1.209, allocations: 88.09 kB / 1.409 GB, free: 9.676 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/1.209, allocations: 0 / 1.409 GB, free: 9.676 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/1.209, allocations: 21.66 kB / 1.409 GB, free: 9.648 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.209, allocations: 322.8 kB / 1.409 GB, free: 9.324 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/1.209, allocations: 0 / 1.409 GB, free: 9.324 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/1.209, allocations: 13.72 kB / 1.409 GB, free: 9.305 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/1.209, allocations: 29.7 kB / 1.409 GB, free: 9.27 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.209, allocations: 0 / 1.409 GB, free: 9.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.338e-05/1.209, allocations: 45.64 kB / 1.409 GB, free: 9.219 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.209, allocations: 11.98 kB / 1.409 GB, free: 9.207 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/1.209, allocations: 0 / 1.409 GB, free: 9.207 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.209, allocations: 0 / 1.409 GB, free: 9.207 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.536e-05/1.209, allocations: 4 kB / 1.409 GB, free: 9.203 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.209, allocations: 4.062 kB / 1.409 GB, free: 9.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/1.209, allocations: 4 kB / 1.409 GB, free: 9.195 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/1.209, allocations: 7.875 kB / 1.409 GB, free: 9.188 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 7.726e-05/1.209, allocations: 109.8 kB / 1.409 GB, free: 9.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/1.209, allocations: 0 / 1.409 GB, free: 9.07 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/1.209, allocations: 121 kB / 1.41 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-05/1.21, allocations: 180.2 kB / 1.41 GB, free: 8.754 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-05/1.21, allocations: 180.3 kB / 1.41 GB, free: 8.57 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-05/1.21, allocations: 176.3 kB / 1.41 GB, free: 8.391 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/1.21, allocations: 384.2 kB / 1.41 GB, free: 7.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/1.21, allocations: 109 kB / 1.411 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/1.21, allocations: 104.9 kB / 1.411 GB, free: 7.742 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-05/1.21, allocations: 180.3 kB / 1.411 GB, free: 7.559 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/1.21, allocations: 180.3 kB / 1.411 GB, free: 7.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.771e-05/1.21, allocations: 184.2 kB / 1.411 GB, free: 7.188 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.74e-05/1.21, allocations: 180.2 kB / 1.411 GB, free: 7.004 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/1.211, allocations: 327.6 kB / 1.412 GB, free: 6.66 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/1.211, allocations: 101.2 kB / 1.412 GB, free: 6.555 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.211, allocations: 188.2 kB / 1.412 GB, free: 6.363 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/1.211, allocations: 105 kB / 1.412 GB, free: 6.254 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/1.211, allocations: 188.2 kB / 1.412 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/1.211, allocations: 101 kB / 1.412 GB, free: 5.957 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.676e-05/1.211, allocations: 95.2 kB / 1.412 GB, free: 5.863 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.211, allocations: 0 / 1.412 GB, free: 5.863 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000315/1.211, allocations: 55.75 kB / 1.412 GB, free: 5.809 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.0003507/1.212, allocations: 250.2 kB / 1.413 GB, free: 5.551 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/1.212, allocations: 15.92 kB / 1.413 GB, free: 5.535 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.212, allocations: 0 / 1.413 GB, free: 5.535 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/1.212, allocations: 4 kB / 1.413 GB, free: 5.531 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/1.212, allocations: 457.6 kB / 1.413 GB, free: 5.082 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/1.213, allocations: 190.2 kB / 1.413 GB, free: 4.867 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/1.213, allocations: 0.6729 MB / 1.414 GB, free: 4.168 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.132e-05/1.213, allocations: 11.92 kB / 1.414 GB, free: 4.156 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/1.213, allocations: 11.44 kB / 1.414 GB, free: 4.145 MB / 1.107 GB Notification: Performance of SimCode: time 2.9e-07/1.213, allocations: 0 / 1.414 GB, free: 4.145 MB / 1.107 GB Notification: Performance of Templates: time 0.004416/1.217, allocations: 1.303 MB / 1.415 GB, free: 2.848 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 -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/jenkins/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: 9.401644228957593]