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.009084/0.009084, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001696/0.001696, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 0.9508 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9667/0.968, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1952/1.163, allocations: 135.4 MB / 1.22 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002518/1.163, allocations: 59.36 kB / 1.22 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/1.164, allocations: 5.25 kB / 1.22 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/1.164, allocations: 4 kB / 1.22 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/1.164, allocations: 14.19 kB / 1.22 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/1.165, allocations: 247.6 kB / 1.22 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.165, allocations: 37.25 kB / 1.22 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/1.165, allocations: 2.344 kB / 1.22 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/1.165, allocations: 16.98 kB / 1.221 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/1.165, allocations: 17.14 kB / 1.221 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/1.166, allocations: 1.969 kB / 1.221 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/1.166, allocations: 233 kB / 1.221 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/1.166, allocations: 14.31 kB / 1.221 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/1.166, allocations: 13 kB / 1.221 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005824/1.167, allocations: 187.7 kB / 1.221 GB, free: 320 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.167, allocations: 0 / 1.221 GB, free: 320 kB / 0.9512 GB Notification: Performance of FrontEnd: time 2.485e-06/1.167, allocations: 4 kB / 1.221 GB, free: 316 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.167, allocations: 0 / 1.221 GB, free: 316 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.0006155/1.168, allocations: 357.6 kB / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.168, allocations: 9.688 kB / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/1.168, allocations: 1.938 kB / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/1.168, allocations: 173.4 kB / 1.221 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/1.168, allocations: 28.45 kB / 1.222 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/1.168, allocations: 9.141 kB / 1.222 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/1.168, allocations: 50.47 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-06/1.168, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.168, allocations: 1.406 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/1.168, allocations: 1.062 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/1.168, allocations: 17.27 kB / 1.222 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/1.169, allocations: 0.5912 MB / 1.222 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/1.169, allocations: 25.08 kB / 1.222 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/1.169, allocations: 6.172 kB / 1.222 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/1.169, allocations: 337.8 kB / 1.223 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/1.17, allocations: 31.81 kB / 1.223 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/1.17, allocations: 0 / 1.223 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001876/1.17, allocations: 36.31 kB / 1.223 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.17, allocations: 51.53 kB / 1.223 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/1.17, allocations: 104.5 kB / 1.223 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/1.17, allocations: 25.7 kB / 1.223 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/1.17, allocations: 97.16 kB / 1.223 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/1.17, allocations: 5.406 kB / 1.223 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/1.17, allocations: 17.44 kB / 1.223 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.17, allocations: 315.9 kB / 1.223 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/1.17, allocations: 6.484 kB / 1.223 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/1.17, allocations: 21.66 kB / 1.223 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/1.17, allocations: 20.28 kB / 1.223 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.17, allocations: 0 / 1.223 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.348e-05/1.17, allocations: 54.66 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.17, allocations: 5.125 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.17, allocations: 1.094 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.171, allocations: 0 / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/1.171, allocations: 9.469 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.171, allocations: 5.047 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/1.171, allocations: 1.156 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.171, allocations: 8.938 kB / 1.223 GB, free: 13.71 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.029e-05/1.171, allocations: 108 kB / 1.223 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.171, allocations: 1.094 kB / 1.223 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/1.171, allocations: 124.1 kB / 1.224 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001942/1.171, allocations: 185.4 kB / 1.224 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.997e-05/1.171, allocations: 181.3 kB / 1.224 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.676e-05/1.171, allocations: 177.4 kB / 1.224 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/1.172, allocations: 412.4 kB / 1.224 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/1.172, allocations: 102.1 kB / 1.225 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/1.172, allocations: 105 kB / 1.225 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.98e-05/1.172, allocations: 185.3 kB / 1.225 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/1.172, allocations: 181.4 kB / 1.225 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.38e-05/1.172, allocations: 181.3 kB / 1.225 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001543/1.172, allocations: 177.3 kB / 1.225 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/1.172, allocations: 317.1 kB / 1.226 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/1.172, allocations: 187.2 kB / 1.226 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/1.173, allocations: 189.5 kB / 1.226 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/1.173, allocations: 111.3 kB / 1.226 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/1.173, allocations: 177.5 kB / 1.226 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/1.173, allocations: 110.1 kB / 1.226 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.395e-05/1.173, allocations: 88.94 kB / 1.226 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.173, allocations: 0 / 1.226 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004362/1.173, allocations: 57.42 kB / 1.226 GB, free: 10.27 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.0004107/1.174, allocations: 260.9 kB / 1.227 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.923e-05/1.174, allocations: 9.625 kB / 1.227 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.174, allocations: 1.094 kB / 1.227 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.174, allocations: 0 / 1.227 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/1.174, allocations: 471.2 kB / 1.227 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/1.175, allocations: 178 kB / 1.227 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.175, allocations: 0.6755 MB / 1.228 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.406e-05/1.175, allocations: 4.5 kB / 1.228 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/1.175, allocations: 10.16 kB / 1.228 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/1.175, allocations: 0 / 1.228 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.004382/1.179, allocations: 1.293 MB / 1.229 GB, free: 8.016 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches