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) 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.1.0-maint.11.x/package.mo", uses=false) 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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.007743/0.007743, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001196/0.001196, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3572, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8978/1.255, allocations: 135.8 MB / 1.353 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001979/1.255, allocations: 54.62 kB / 1.353 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/1.255, allocations: 0 / 1.353 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/1.255, allocations: 1.688 kB / 1.353 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/1.255, allocations: 9.938 kB / 1.353 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/1.256, allocations: 245.4 kB / 1.353 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/1.257, allocations: 33.17 kB / 1.354 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/1.257, allocations: 5.938 kB / 1.354 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/1.257, allocations: 16.39 kB / 1.354 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/1.257, allocations: 11.3 kB / 1.354 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/1.257, allocations: 1.188 kB / 1.354 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/1.257, allocations: 240.3 kB / 1.354 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/1.257, allocations: 16.88 kB / 1.354 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/1.257, allocations: 8.969 kB / 1.354 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005476/1.258, allocations: 187.3 kB / 1.354 GB, free: 9.371 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.258, allocations: 2.078 kB / 1.354 GB, free: 9.371 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.258, allocations: 0 / 1.354 GB, free: 9.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.258, allocations: 0 / 1.354 GB, free: 9.371 MB / 1.061 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.0004762/1.258, allocations: 361.3 kB / 1.354 GB, free: 8.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.258, allocations: 9.688 kB / 1.354 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/1.259, allocations: 3.219 kB / 1.354 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/1.259, allocations: 161.9 kB / 1.354 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/1.259, allocations: 32.58 kB / 1.355 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/1.259, allocations: 5.672 kB / 1.355 GB, free: 8.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/1.259, allocations: 43.2 kB / 1.355 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.259, allocations: 0 / 1.355 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.259, allocations: 1.312 kB / 1.355 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/1.259, allocations: 1.828 kB / 1.355 GB, free: 8.727 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/1.259, allocations: 23.64 kB / 1.355 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/1.26, allocations: 0.6044 MB / 1.355 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/1.26, allocations: 17.66 kB / 1.355 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/1.26, allocations: 12.02 kB / 1.355 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/1.26, allocations: 333.7 kB / 1.356 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.26, allocations: 36.45 kB / 1.356 GB, free: 7.594 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.26, allocations: 0 / 1.356 GB, free: 7.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/1.26, allocations: 40.45 kB / 1.356 GB, free: 7.555 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.26, allocations: 52.62 kB / 1.356 GB, free: 7.492 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/1.26, allocations: 102.4 kB / 1.356 GB, free: 7.391 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/1.26, allocations: 26.8 kB / 1.356 GB, free: 7.359 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/1.26, allocations: 86.16 kB / 1.356 GB, free: 7.273 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-06/1.26, allocations: 0.7031 kB / 1.356 GB, free: 7.273 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/1.26, allocations: 23.44 kB / 1.356 GB, free: 7.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.261, allocations: 320.9 kB / 1.356 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/1.261, allocations: 3.594 kB / 1.356 GB, free: 6.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/1.261, allocations: 18.62 kB / 1.356 GB, free: 6.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/1.261, allocations: 21.48 kB / 1.356 GB, free: 6.891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.261, allocations: 0 / 1.356 GB, free: 6.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.715e-05/1.261, allocations: 50.02 kB / 1.356 GB, free: 6.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.261, allocations: 10.7 kB / 1.356 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.261, allocations: 2.344 kB / 1.356 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.261, allocations: 0 / 1.356 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/1.261, allocations: 6.734 kB / 1.356 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.261, allocations: 0 / 1.356 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/1.261, allocations: 1.594 kB / 1.356 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/1.261, allocations: 2.156 kB / 1.356 GB, free: 6.848 MB / 1.061 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.141e-05/1.261, allocations: 116.5 kB / 1.356 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/1.261, allocations: 1.656 kB / 1.356 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.261, allocations: 123 kB / 1.357 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.498e-05/1.261, allocations: 181.5 kB / 1.357 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.811e-05/1.261, allocations: 185.5 kB / 1.357 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-05/1.261, allocations: 182.5 kB / 1.357 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/1.262, allocations: 404.2 kB / 1.357 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/1.262, allocations: 112.9 kB / 1.358 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/1.262, allocations: 102.8 kB / 1.358 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.655e-05/1.262, allocations: 178.2 kB / 1.358 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/1.262, allocations: 182.1 kB / 1.358 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-05/1.262, allocations: 181.2 kB / 1.358 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.778e-05/1.262, allocations: 190.1 kB / 1.358 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/1.262, allocations: 314.6 kB / 1.359 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/1.262, allocations: 184.5 kB / 1.359 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/1.262, allocations: 178.7 kB / 1.359 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/1.262, allocations: 113.3 kB / 1.359 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/1.262, allocations: 182.2 kB / 1.359 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.262, allocations: 101.7 kB / 1.359 GB, free: 3.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.913e-05/1.263, allocations: 88.34 kB / 1.359 GB, free: 3.465 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.263, allocations: 0 / 1.359 GB, free: 3.465 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003647/1.263, allocations: 66.48 kB / 1.36 GB, free: 3.438 MB / 1.061 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.0003681/1.263, allocations: 263.1 kB / 1.36 GB, free: 3.238 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.346e-05/1.263, allocations: 7.234 kB / 1.36 GB, free: 3.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.263, allocations: 0 / 1.36 GB, free: 3.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/1.263, allocations: 0.7031 kB / 1.36 GB, free: 3.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/1.264, allocations: 460.5 kB / 1.36 GB, free: 2.789 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/1.264, allocations: 191.7 kB / 1.36 GB, free: 2.602 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/1.264, allocations: 0.6781 MB / 1.361 GB, free: 1.902 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.366e-05/1.264, allocations: 13.66 kB / 1.361 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/1.264, allocations: 11.03 kB / 1.361 GB, free: 1.887 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/1.264, allocations: 0 / 1.361 GB, free: 1.887 MB / 1.061 GB Notification: Performance of Templates: time 0.004202/1.269, allocations: 1.288 MB / 1.362 GB, free: 1.703 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches