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.001296/0.001301, allocations: 111.6 kB / 17.08 MB, free: 6.012 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.001514/0.001514, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.492/1.492, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.795/2.795, allocations: 437 MB / 0.7177 GB, free: 4.566 MB / 0.5606 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.001981/0.001981, allocations: 63.91 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.725/1.058, allocations: 135.4 MB / 1.308 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001562/1.058, allocations: 53.14 kB / 1.308 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/1.058, allocations: 3.828 kB / 1.308 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/1.058, allocations: 9.547 kB / 1.308 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/1.058, allocations: 14.02 kB / 1.308 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/1.059, allocations: 236.7 kB / 1.308 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/1.059, allocations: 32.95 kB / 1.308 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/1.059, allocations: 2.203 kB / 1.308 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/1.059, allocations: 15.81 kB / 1.308 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/1.059, allocations: 19.14 kB / 1.308 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/1.059, allocations: 0 / 1.308 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/1.06, allocations: 239.1 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/1.06, allocations: 8.547 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/1.06, allocations: 8.578 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/1.06, allocations: 191.8 kB / 1.309 GB, free: 14.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.06, allocations: 0 / 1.309 GB, free: 14.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/1.06, allocations: 3.719 kB / 1.309 GB, free: 14.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.158e-06/1.06, allocations: 0 / 1.309 GB, free: 14.84 MB / 1.014 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.0004391/1.061, allocations: 365 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/1.061, allocations: 9.656 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/1.061, allocations: 2.25 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.061, allocations: 165.8 kB / 1.309 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/1.061, allocations: 29.91 kB / 1.309 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/1.061, allocations: 7.938 kB / 1.309 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/1.061, allocations: 43.28 kB / 1.309 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/1.061, allocations: 3.938 kB / 1.309 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.061, allocations: 0.7031 kB / 1.309 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/1.061, allocations: 1.25 kB / 1.309 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/1.061, allocations: 18.06 kB / 1.309 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/1.062, allocations: 0.6061 MB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/1.062, allocations: 20.75 kB / 1.31 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/1.062, allocations: 7.375 kB / 1.31 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/1.062, allocations: 337.5 kB / 1.31 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.063, allocations: 30.56 kB / 1.31 GB, free: 13.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/1.063, allocations: 1.375 kB / 1.31 GB, free: 13.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/1.063, allocations: 33.2 kB / 1.31 GB, free: 13.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.063, allocations: 60 kB / 1.31 GB, free: 12.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/1.063, allocations: 104.8 kB / 1.311 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/1.063, allocations: 25.7 kB / 1.311 GB, free: 12.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/1.063, allocations: 89.73 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/1.063, allocations: 1.984 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/1.063, allocations: 13.83 kB / 1.311 GB, free: 12.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.063, allocations: 320.2 kB / 1.311 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/1.063, allocations: 7.406 kB / 1.311 GB, free: 12.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/1.063, allocations: 15.34 kB / 1.311 GB, free: 12.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/1.063, allocations: 20.66 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.063, allocations: 1.375 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.049e-05/1.063, allocations: 52.03 kB / 1.311 GB, free: 12.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.063, allocations: 5.5 kB / 1.311 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.063, allocations: 6.188 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.063, allocations: 0 / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/1.063, allocations: 6.203 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.063, allocations: 0.6094 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/1.063, allocations: 1.375 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.063, allocations: 2.172 kB / 1.311 GB, free: 12.36 MB / 1.014 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.987e-05/1.064, allocations: 120.8 kB / 1.311 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/1.064, allocations: 1.375 kB / 1.311 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/1.064, allocations: 118.3 kB / 1.311 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-05/1.064, allocations: 189.7 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.803e-05/1.064, allocations: 182.4 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-05/1.064, allocations: 181 kB / 1.312 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/1.064, allocations: 412.5 kB / 1.312 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/1.064, allocations: 109.5 kB / 1.312 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/1.064, allocations: 107.7 kB / 1.312 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/1.064, allocations: 177.6 kB / 1.313 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.382e-05/1.065, allocations: 178.6 kB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.85e-05/1.065, allocations: 182.3 kB / 1.313 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.615e-05/1.065, allocations: 181.6 kB / 1.313 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/1.065, allocations: 317.2 kB / 1.313 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/1.065, allocations: 184.8 kB / 1.314 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.666e-05/1.065, allocations: 182.3 kB / 1.314 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/1.065, allocations: 105.7 kB / 1.314 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/1.065, allocations: 186.2 kB / 1.314 GB, free: 9.168 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/1.065, allocations: 106.7 kB / 1.314 GB, free: 9.062 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.327e-05/1.065, allocations: 84.69 kB / 1.314 GB, free: 8.988 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.065, allocations: 0 / 1.314 GB, free: 8.988 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003545/1.066, allocations: 62.56 kB / 1.314 GB, free: 8.969 MB / 1.014 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.0003483/1.066, allocations: 254.8 kB / 1.315 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.949e-05/1.066, allocations: 15.25 kB / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.066, allocations: 0 / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/1.066, allocations: 1.375 kB / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/1.067, allocations: 468 kB / 1.315 GB, free: 8.332 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/1.067, allocations: 199 kB / 1.315 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/1.067, allocations: 0.6742 MB / 1.316 GB, free: 7.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/1.067, allocations: 9.422 kB / 1.316 GB, free: 7.426 MB / 1.014 GB Notification: Performance of SimCode: time 5.29e-06/1.067, allocations: 0 / 1.316 GB, free: 7.426 MB / 1.014 GB Notification: Performance of Templates: time 0.003/1.07, allocations: 1.239 MB / 1.317 GB, free: 7.266 MB / 1.014 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.342403972987086]