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.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.0008145/0.0008145, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007801/0.0007801, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.608/1.608, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: 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 1.673e-06/1.673e-06, allocations: 0 / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.67e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5441/0.5442, allocations: 119 MB / 1.068 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.000154/0.5443, allocations: 48.69 kB / 1.068 GB, free: 42.01 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.5443, allocations: 4 kB / 1.068 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.5445, allocations: 3.5 kB / 1.068 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.5445, allocations: 15.8 kB / 1.068 GB, free: 42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.5452, allocations: 246.9 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.5453, allocations: 39.72 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.5453, allocations: 2.781 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.5454, allocations: 20.3 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.5454, allocations: 13.53 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.5454, allocations: 1.094 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.5457, allocations: 178 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.5457, allocations: 3.234 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.5457, allocations: 12.8 kB / 1.068 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.546, allocations: 185.1 kB / 1.069 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.546, allocations: 0 / 1.069 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.546, allocations: 4 kB / 1.069 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.546, allocations: 0 / 1.069 GB, free: 41.96 MB / 0.9948 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.000305/0.5463, allocations: 283.7 kB / 1.069 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5463, allocations: 11.41 kB / 1.069 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.5464, allocations: 4.312 kB / 1.069 GB, free: 41.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.749e-05/0.5464, allocations: 104.6 kB / 1.069 GB, free: 41.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.5465, allocations: 55.53 kB / 1.069 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.5465, allocations: 3.188 kB / 1.069 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.5466, allocations: 63.8 kB / 1.069 GB, free: 41.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5466, allocations: 7.938 kB / 1.069 GB, free: 41.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5466, allocations: 2.938 kB / 1.069 GB, free: 41.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.5466, allocations: 7.484 kB / 1.069 GB, free: 41.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.5466, allocations: 15.89 kB / 1.069 GB, free: 41.42 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.5471, allocations: 251.6 kB / 1.069 GB, free: 41.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.14e-05/0.5471, allocations: 20.95 kB / 1.069 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.129e-05/0.5471, allocations: 14.92 kB / 1.069 GB, free: 41.19 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.5472, allocations: 24.62 kB / 1.069 GB, free: 41.19 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.5472, allocations: 37.09 kB / 1.07 GB, free: 41.15 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5472, allocations: 5.203 kB / 1.07 GB, free: 41.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001179/0.5473, allocations: 42.81 kB / 1.07 GB, free: 41.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.5473, allocations: 51.41 kB / 1.07 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.5474, allocations: 109.8 kB / 1.07 GB, free: 40.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.5474, allocations: 29.12 kB / 1.07 GB, free: 40.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.5474, allocations: 84.09 kB / 1.07 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.5474, allocations: 3.5 kB / 1.07 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.5474, allocations: 15.59 kB / 1.07 GB, free: 40.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.586e-05/0.5474, allocations: 314.2 kB / 1.07 GB, free: 40.49 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.5474, allocations: 9.719 kB / 1.07 GB, free: 40.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.5475, allocations: 17.16 kB / 1.07 GB, free: 40.47 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.5475, allocations: 30.33 kB / 1.07 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5475, allocations: 0 / 1.07 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.209e-05/0.5475, allocations: 52.22 kB / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5475, allocations: 9.5 kB / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5475, allocations: 0 / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5476, allocations: 3.062 kB / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.37e-05/0.5476, allocations: 2.844 kB / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.5476, allocations: 7.125 kB / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.5476, allocations: 0 / 1.07 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.5476, allocations: 2.906 kB / 1.07 GB, free: 40.41 MB / 0.9948 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 3.127e-05/0.5476, allocations: 108.9 kB / 1.07 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.5477, allocations: 12.34 kB / 1.07 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.5477, allocations: 113.7 kB / 1.071 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.5477, allocations: 187.1 kB / 1.071 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.5478, allocations: 181.5 kB / 1.071 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5478, allocations: 180.2 kB / 1.071 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.382e-05/0.5478, allocations: 360.2 kB / 1.071 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5478, allocations: 103.8 kB / 1.071 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-06/0.5479, allocations: 108.9 kB / 1.072 GB, free: 39.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.5479, allocations: 176.3 kB / 1.072 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5479, allocations: 186.2 kB / 1.072 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.5479, allocations: 180.8 kB / 1.072 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.5479, allocations: 182.9 kB / 1.072 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.161e-05/0.5479, allocations: 306.6 kB / 1.073 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.548, allocations: 122.5 kB / 1.073 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.548, allocations: 178.9 kB / 1.073 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.5481, allocations: 112.6 kB / 1.073 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.5481, allocations: 180.2 kB / 1.073 GB, free: 37.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.5481, allocations: 103.5 kB / 1.073 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.5481, allocations: 84.53 kB / 1.073 GB, free: 37.22 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5481, allocations: 0 / 1.073 GB, free: 37.22 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001805/0.5483, allocations: 60.42 kB / 1.073 GB, free: 37.21 MB / 0.9948 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.0002029/0.5485, allocations: 255.3 kB / 1.074 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.822e-05/0.5485, allocations: 19.11 kB / 1.074 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5485, allocations: 0 / 1.074 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.5485, allocations: 0 / 1.074 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.5488, allocations: 461.4 kB / 1.074 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.5489, allocations: 201.2 kB / 1.074 GB, free: 36.37 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.969e-05/0.549, allocations: 63.66 kB / 1.074 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.549, allocations: 11 kB / 1.074 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of SimCode: time 4.21e-07/0.549, allocations: 0 / 1.074 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.001765/0.5507, allocations: 1.263 MB / 1.076 GB, free: 36.15 MB / 0.9948 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: 7.0679029552266]