Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.00113/0.00113, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001185/0.001186, allocations: 187 kB / 17.34 MB, free: 5.719 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.12 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7523, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.17/0.9223, allocations: 135.4 MB / 1.221 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.9226, allocations: 54.98 kB / 1.221 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.9226, allocations: 0 / 1.221 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.9227, allocations: 1.344 kB / 1.221 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.9229, allocations: 22.09 kB / 1.221 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.924, allocations: 244.4 kB / 1.221 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.9241, allocations: 33.88 kB / 1.221 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.9241, allocations: 4.969 kB / 1.221 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.9242, allocations: 21.61 kB / 1.221 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.9243, allocations: 9.797 kB / 1.221 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.9243, allocations: 1.875 kB / 1.221 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.9249, allocations: 237 kB / 1.221 GB, free: 448 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.925, allocations: 10.78 kB / 1.221 GB, free: 440 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.9251, allocations: 19.84 kB / 1.221 GB, free: 424 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.9256, allocations: 183.8 kB / 1.222 GB, free: 340 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9256, allocations: 0 / 1.222 GB, free: 340 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9256, allocations: 0 / 1.222 GB, free: 340 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.9256, allocations: 5.281 kB / 1.222 GB, free: 336 kB / 0.9512 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.0005223/0.9261, allocations: 356.7 kB / 1.222 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9262, allocations: 9.656 kB / 1.222 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.9263, allocations: 2.156 kB / 1.222 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9264, allocations: 173.4 kB / 1.222 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.9265, allocations: 27.8 kB / 1.222 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.9265, allocations: 5.312 kB / 1.222 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.9266, allocations: 43 kB / 1.222 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.9266, allocations: 4 kB / 1.222 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.9267, allocations: 1.188 kB / 1.222 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.9267, allocations: 1.219 kB / 1.222 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.9267, allocations: 12.61 kB / 1.222 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.9276, allocations: 0.596 MB / 1.223 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.9277, allocations: 25.33 kB / 1.223 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.9277, allocations: 6.391 kB / 1.223 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.9279, allocations: 333.8 kB / 1.223 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.9279, allocations: 31.69 kB / 1.223 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9279, allocations: 0 / 1.223 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/0.9281, allocations: 43.53 kB / 1.223 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.9282, allocations: 51.41 kB / 1.223 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.9283, allocations: 108.8 kB / 1.223 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.9283, allocations: 25.7 kB / 1.223 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.9284, allocations: 85.3 kB / 1.224 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.9284, allocations: 5.094 kB / 1.224 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.9284, allocations: 17.03 kB / 1.224 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9285, allocations: 319.9 kB / 1.224 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.9286, allocations: 6.672 kB / 1.224 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.9286, allocations: 17.59 kB / 1.224 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.9286, allocations: 24.06 kB / 1.224 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9286, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.672e-05/0.9287, allocations: 58.62 kB / 1.224 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9287, allocations: 5.75 kB / 1.224 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9288, allocations: 1.344 kB / 1.224 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.9288, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.9288, allocations: 8.828 kB / 1.224 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9288, allocations: 5.469 kB / 1.224 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.9289, allocations: 0.75 kB / 1.224 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.9289, allocations: 9.156 kB / 1.224 GB, free: 13.73 MB / 0.9669 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.796e-05/0.929, allocations: 112.2 kB / 1.224 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.929, allocations: 1.125 kB / 1.224 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.9291, allocations: 116.7 kB / 1.224 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-05/0.9292, allocations: 185.3 kB / 1.224 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.79e-05/0.9293, allocations: 177.5 kB / 1.225 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.465e-05/0.9294, allocations: 185.4 kB / 1.225 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.9296, allocations: 407.5 kB / 1.225 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-05/0.9297, allocations: 102.2 kB / 1.225 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.9297, allocations: 106.1 kB / 1.225 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-05/0.9298, allocations: 189.6 kB / 1.225 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/0.9299, allocations: 180.3 kB / 1.226 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-05/0.9299, allocations: 181.1 kB / 1.226 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-05/0.93, allocations: 177.4 kB / 1.226 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.9301, allocations: 316.5 kB / 1.226 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.9302, allocations: 183.5 kB / 1.226 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.9303, allocations: 185.7 kB / 1.227 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.9305, allocations: 107.9 kB / 1.227 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.9306, allocations: 181.4 kB / 1.227 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.9306, allocations: 105 kB / 1.227 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.692e-05/0.9307, allocations: 92.58 kB / 1.227 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9307, allocations: 0 / 1.227 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003689/0.931, allocations: 58.81 kB / 1.227 GB, free: 10.3 MB / 0.9669 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.0003718/0.9314, allocations: 260.5 kB / 1.227 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.872e-05/0.9315, allocations: 13.88 kB / 1.227 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9315, allocations: 1.281 kB / 1.227 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.9315, allocations: 0 / 1.227 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.9319, allocations: 459 kB / 1.228 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.9322, allocations: 210.7 kB / 1.228 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.9325, allocations: 0.6797 MB / 1.229 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.9325, allocations: 13.72 kB / 1.229 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.9325, allocations: 0 / 1.229 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.003096/0.9356, allocations: 1.236 MB / 1.23 GB, free: 8.066 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches