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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.001188/0.001188, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001237/0.001237, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6783, allocations: 151.7 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1314/0.8098, allocations: 135.4 MB / 1.299 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001573/0.81, allocations: 59.84 kB / 1.3 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.81, allocations: 0 / 1.3 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.8102, allocations: 3.938 kB / 1.3 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.8103, allocations: 11.92 kB / 1.3 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.8111, allocations: 244.7 kB / 1.3 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.8111, allocations: 27.86 kB / 1.3 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.8112, allocations: 11.92 kB / 1.3 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.8112, allocations: 15.98 kB / 1.3 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.8113, allocations: 15.86 kB / 1.3 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.8113, allocations: 7.984 kB / 1.3 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.8119, allocations: 231.5 kB / 1.3 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.812, allocations: 11.98 kB / 1.3 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.812, allocations: 15.92 kB / 1.3 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004981/0.8125, allocations: 187.5 kB / 1.3 GB, free: 11.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8125, allocations: 0 / 1.3 GB, free: 11.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8125, allocations: 0 / 1.3 GB, free: 11.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.8125, allocations: 0 / 1.3 GB, free: 11.12 MB / 1.029 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.0004966/0.813, allocations: 353.3 kB / 1.301 GB, free: 10.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.8131, allocations: 16.61 kB / 1.301 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.8132, allocations: 4.844 kB / 1.301 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.8133, allocations: 160.4 kB / 1.301 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.8134, allocations: 38.25 kB / 1.301 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.8134, allocations: 3.938 kB / 1.301 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.8136, allocations: 45.62 kB / 1.301 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.8136, allocations: 0 / 1.301 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.8136, allocations: 0 / 1.301 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.8136, allocations: 4 kB / 1.301 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.8137, allocations: 15.98 kB / 1.301 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.8146, allocations: 0.595 MB / 1.301 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.285e-05/0.8147, allocations: 18.58 kB / 1.302 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.8147, allocations: 8.797 kB / 1.302 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.8149, allocations: 332.5 kB / 1.302 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.8149, allocations: 46.48 kB / 1.302 GB, free: 9.184 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.8149, allocations: 0 / 1.302 GB, free: 9.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.8151, allocations: 33.7 kB / 1.302 GB, free: 9.145 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.8151, allocations: 51.41 kB / 1.302 GB, free: 9.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.8152, allocations: 109.8 kB / 1.302 GB, free: 8.965 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.8152, allocations: 25.7 kB / 1.302 GB, free: 8.934 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.8153, allocations: 84.05 kB / 1.302 GB, free: 8.848 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.8153, allocations: 11.84 kB / 1.302 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.8153, allocations: 17.72 kB / 1.302 GB, free: 8.812 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.8154, allocations: 318.8 kB / 1.303 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.8155, allocations: 12.06 kB / 1.303 GB, free: 8.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.8155, allocations: 17.72 kB / 1.303 GB, free: 8.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.8155, allocations: 17.72 kB / 1.303 GB, free: 8.434 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8155, allocations: 0 / 1.303 GB, free: 8.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.049e-05/0.8156, allocations: 49.62 kB / 1.303 GB, free: 8.379 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8156, allocations: 10.19 kB / 1.303 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.8157, allocations: 4.062 kB / 1.303 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.8157, allocations: 0 / 1.303 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.8157, allocations: 11.92 kB / 1.303 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.8157, allocations: 0 / 1.303 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.8158, allocations: 4 kB / 1.303 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.8158, allocations: 0 / 1.303 GB, free: 8.352 MB / 1.029 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 7.226e-05/0.8159, allocations: 117.8 kB / 1.303 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.8159, allocations: 0 / 1.303 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.816, allocations: 124.9 kB / 1.303 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.935e-05/0.8161, allocations: 176.3 kB / 1.303 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.8161, allocations: 108.9 kB / 1.303 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.8162, allocations: 186 kB / 1.303 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.8162, allocations: 184.2 kB / 1.303 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.8164, allocations: 108.9 kB / 1.304 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.8164, allocations: 180.3 kB / 1.304 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.069e-05/0.8165, allocations: 263.5 kB / 1.304 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001374/0.8166, allocations: 379 kB / 1.304 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.536e-05/0.8167, allocations: 108.9 kB / 1.304 GB, free: 6.336 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.8167, allocations: 91.27 kB / 1.305 GB, free: 6.246 MB / 1.029 GB Notification: Performance of Backend: time 1.803e-06/0.8167, allocations: 0 / 1.305 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.8173, allocations: 166.4 kB / 1.305 GB, free: 6.074 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004525/0.8177, allocations: 0.8486 MB / 1.306 GB, free: 5.176 MB / 1.029 GB Notification: Performance of Templates: time 0.003362/0.8211, allocations: 1.201 MB / 1.307 GB, free: 3.98 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches