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.001559/0.001559, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.002011/0.002011, allocations: 188.3 kB / 17.35 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.536/2.536, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.261/3.261, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2241/1.289, allocations: 135.4 MB / 1.341 GB, free: 5.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000219/1.29, allocations: 55.86 kB / 1.341 GB, free: 5.855 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/1.29, allocations: 0 / 1.341 GB, free: 5.855 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/1.29, allocations: 7.922 kB / 1.341 GB, free: 5.848 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.464e-05/1.29, allocations: 7.984 kB / 1.341 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/1.291, allocations: 239 kB / 1.341 GB, free: 5.605 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.291, allocations: 35.86 kB / 1.341 GB, free: 5.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/1.292, allocations: 0 / 1.341 GB, free: 5.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/1.292, allocations: 19.91 kB / 1.341 GB, free: 5.551 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/1.292, allocations: 15.94 kB / 1.341 GB, free: 5.535 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/1.292, allocations: 0 / 1.341 GB, free: 5.535 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/1.293, allocations: 239.5 kB / 1.341 GB, free: 5.301 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/1.293, allocations: 4 kB / 1.341 GB, free: 5.297 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/1.293, allocations: 23.91 kB / 1.341 GB, free: 5.273 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/1.293, allocations: 185.3 kB / 1.341 GB, free: 5.094 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.293, allocations: 4 kB / 1.341 GB, free: 5.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/1.293, allocations: 0 / 1.341 GB, free: 5.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.293, allocations: 0 / 1.341 GB, free: 5.09 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.0005702/1.294, allocations: 355.5 kB / 1.342 GB, free: 4.695 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.294, allocations: 8.031 kB / 1.342 GB, free: 4.688 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/1.294, allocations: 4.844 kB / 1.342 GB, free: 4.684 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/1.294, allocations: 164.4 kB / 1.342 GB, free: 4.484 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/1.294, allocations: 38 kB / 1.342 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/1.294, allocations: 0 / 1.342 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/1.294, allocations: 49.61 kB / 1.342 GB, free: 4.387 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.294, allocations: 4 kB / 1.342 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.295, allocations: 0 / 1.342 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/1.295, allocations: 0 / 1.342 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/1.295, allocations: 11.98 kB / 1.342 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/1.296, allocations: 0.6028 MB / 1.343 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/1.296, allocations: 14.58 kB / 1.343 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/1.296, allocations: 4.859 kB / 1.343 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/1.296, allocations: 340.4 kB / 1.343 GB, free: 3.207 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.296, allocations: 30.56 kB / 1.343 GB, free: 3.168 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/1.296, allocations: 0 / 1.343 GB, free: 3.168 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002094/1.296, allocations: 41.7 kB / 1.343 GB, free: 3.121 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.296, allocations: 59.33 kB / 1.343 GB, free: 3.051 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.297, allocations: 97.86 kB / 1.343 GB, free: 2.945 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/1.297, allocations: 25.7 kB / 1.343 GB, free: 2.914 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/1.297, allocations: 88.05 kB / 1.343 GB, free: 2.824 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/1.297, allocations: 11.83 kB / 1.343 GB, free: 2.812 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/1.297, allocations: 21.66 kB / 1.343 GB, free: 2.785 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.297, allocations: 314.9 kB / 1.344 GB, free: 2.469 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/1.297, allocations: 8 kB / 1.344 GB, free: 2.461 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/1.297, allocations: 21.64 kB / 1.344 GB, free: 2.434 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/1.297, allocations: 17.72 kB / 1.344 GB, free: 2.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.297, allocations: 0 / 1.344 GB, free: 2.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001338/1.297, allocations: 53.62 kB / 1.344 GB, free: 2.352 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.297, allocations: 8.062 kB / 1.344 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.297, allocations: 0 / 1.344 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.297, allocations: 0 / 1.344 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/1.297, allocations: 8 kB / 1.344 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.297, allocations: 0 / 1.344 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/1.297, allocations: 0 / 1.344 GB, free: 2.336 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/1.297, allocations: 7.938 kB / 1.344 GB, free: 2.328 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 0.00011/1.297, allocations: 109.8 kB / 1.344 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/1.298, allocations: 4 kB / 1.344 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/1.298, allocations: 120.9 kB / 1.344 GB, free: 2.082 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.649e-05/1.298, allocations: 180.5 kB / 1.344 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/1.298, allocations: 108.9 kB / 1.344 GB, free: 1.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/1.298, allocations: 186 kB / 1.344 GB, free: 1.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.298, allocations: 184.2 kB / 1.345 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.298, allocations: 116.9 kB / 1.345 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/1.298, allocations: 180.3 kB / 1.345 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001105/1.299, allocations: 263.5 kB / 1.345 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002223/1.299, allocations: 387 kB / 1.345 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.205e-05/1.299, allocations: 105 kB / 1.346 GB, free: 316 kB / 1.061 GB Notification: Performance of sorting global known variables: time 6.48e-05/1.299, allocations: 83.28 kB / 1.346 GB, free: 232 kB / 1.061 GB Notification: Performance of Backend: time 6.11e-07/1.299, allocations: 0 / 1.346 GB, free: 232 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009051/1.3, allocations: 166.4 kB / 1.346 GB, free: 56 kB / 1.061 GB Notification: Performance of SimCode: time 0.0007416/1.301, allocations: 0.8638 MB / 1.347 GB, free: 15.14 MB / 1.076 GB Notification: Performance of Templates: time 0.005778/1.306, allocations: 1.208 MB / 1.348 GB, free: 13.94 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches