Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007312/0.007312, allocations: 100.5 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 196.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.11 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3268, allocations: 157.4 MB / 1.208 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8508/1.178, allocations: 135.4 MB / 1.34 GB, free: 8.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001589/1.178, allocations: 45.61 kB / 1.34 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/1.178, allocations: 3.938 kB / 1.34 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.655e-05/1.178, allocations: 1.688 kB / 1.34 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/1.178, allocations: 12.8 kB / 1.34 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/1.179, allocations: 236.4 kB / 1.34 GB, free: 8.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/1.179, allocations: 33.31 kB / 1.34 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/1.179, allocations: 2.875 kB / 1.34 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/1.179, allocations: 20.16 kB / 1.34 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/1.179, allocations: 16.17 kB / 1.34 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/1.179, allocations: 1.094 kB / 1.34 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/1.18, allocations: 243.8 kB / 1.34 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/1.18, allocations: 5.188 kB / 1.341 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/1.18, allocations: 13 kB / 1.341 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/1.18, allocations: 183.4 kB / 1.341 GB, free: 7.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.18, allocations: 0 / 1.341 GB, free: 7.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.086e-06/1.18, allocations: 1.688 kB / 1.341 GB, free: 7.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.96e-06/1.18, allocations: 0 / 1.341 GB, free: 7.902 MB / 1.045 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.0003936/1.181, allocations: 368 kB / 1.341 GB, free: 7.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/1.181, allocations: 14.56 kB / 1.341 GB, free: 7.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/1.181, allocations: 6 kB / 1.341 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/1.181, allocations: 163 kB / 1.341 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/1.181, allocations: 28.44 kB / 1.341 GB, free: 7.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/1.181, allocations: 4.812 kB / 1.341 GB, free: 7.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/1.181, allocations: 43.95 kB / 1.341 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/1.181, allocations: 0 / 1.341 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/1.181, allocations: 0 / 1.341 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/1.181, allocations: 6.953 kB / 1.341 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/1.181, allocations: 11.95 kB / 1.341 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/1.182, allocations: 0.6043 MB / 1.342 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/1.182, allocations: 16.94 kB / 1.342 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/1.182, allocations: 6.922 kB / 1.342 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/1.182, allocations: 337.1 kB / 1.342 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.182, allocations: 36.34 kB / 1.342 GB, free: 6.125 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/1.182, allocations: 3.984 kB / 1.342 GB, free: 6.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.000141/1.182, allocations: 37.66 kB / 1.342 GB, free: 6.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.182, allocations: 52.75 kB / 1.342 GB, free: 6.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/1.182, allocations: 102.1 kB / 1.342 GB, free: 5.922 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/1.182, allocations: 26.58 kB / 1.342 GB, free: 5.891 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/1.183, allocations: 87.89 kB / 1.343 GB, free: 5.805 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/1.183, allocations: 13.16 kB / 1.343 GB, free: 5.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/1.183, allocations: 19.42 kB / 1.343 GB, free: 5.773 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.183, allocations: 316 kB / 1.343 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/1.183, allocations: 3.938 kB / 1.343 GB, free: 5.457 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/1.183, allocations: 18.36 kB / 1.343 GB, free: 5.438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/1.183, allocations: 25.66 kB / 1.343 GB, free: 5.414 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.183, allocations: 0.5 kB / 1.343 GB, free: 5.414 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.258e-05/1.183, allocations: 50.97 kB / 1.343 GB, free: 5.375 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.183, allocations: 4.875 kB / 1.343 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.183, allocations: 1.062 kB / 1.343 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.183, allocations: 1.688 kB / 1.343 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/1.183, allocations: 11.11 kB / 1.343 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.183, allocations: 1.125 kB / 1.343 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/1.183, allocations: 1.125 kB / 1.343 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.183, allocations: 1.656 kB / 1.343 GB, free: 5.371 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 9.359e-05/1.183, allocations: 120.4 kB / 1.343 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/1.183, allocations: 2.25 kB / 1.343 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/1.183, allocations: 114.2 kB / 1.343 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.738e-05/1.183, allocations: 181.8 kB / 1.343 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.128e-05/1.183, allocations: 188.7 kB / 1.344 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.948e-05/1.184, allocations: 186.3 kB / 1.344 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.184, allocations: 403.4 kB / 1.344 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.861e-05/1.184, allocations: 106.7 kB / 1.344 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/1.184, allocations: 106.8 kB / 1.344 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.855e-05/1.184, allocations: 178 kB / 1.345 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/1.184, allocations: 186.9 kB / 1.345 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-05/1.184, allocations: 177.9 kB / 1.345 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.487e-05/1.184, allocations: 177.9 kB / 1.345 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/1.184, allocations: 317.9 kB / 1.345 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/1.184, allocations: 184.5 kB / 1.346 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/1.184, allocations: 182.4 kB / 1.346 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/1.185, allocations: 107.7 kB / 1.346 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/1.185, allocations: 184.9 kB / 1.346 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/1.185, allocations: 102.9 kB / 1.346 GB, free: 2.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.781e-05/1.185, allocations: 83.08 kB / 1.346 GB, free: 1.996 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.346 GB, free: 1.996 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000355/1.185, allocations: 63.86 kB / 1.346 GB, free: 1.973 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.0003467/1.186, allocations: 249.5 kB / 1.346 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.126e-05/1.186, allocations: 19.36 kB / 1.346 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.186, allocations: 0 / 1.346 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/1.186, allocations: 0.9375 kB / 1.346 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/1.186, allocations: 460.4 kB / 1.347 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/1.186, allocations: 189.8 kB / 1.347 GB, free: 1.137 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/1.187, allocations: 0.6825 MB / 1.348 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.382e-05/1.187, allocations: 6.844 kB / 1.348 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/1.187, allocations: 9.578 kB / 1.348 GB, free: 440 kB / 1.045 GB Notification: Performance of SimCode: time 2.5e-07/1.187, allocations: 0 / 1.348 GB, free: 440 kB / 1.045 GB Notification: Performance of Templates: time 0.004421/1.191, allocations: 1.299 MB / 1.349 GB, free: 244 kB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches