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.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.825/2.825, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7387, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1819/0.9206, allocations: 135.4 MB / 1.149 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.9208, allocations: 47.88 kB / 1.15 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.9209, allocations: 3.938 kB / 1.15 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.921, allocations: 3.984 kB / 1.15 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.9211, allocations: 11.92 kB / 1.15 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.922, allocations: 235 kB / 1.15 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.9221, allocations: 43.67 kB / 1.15 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.9221, allocations: 0 / 1.15 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.9222, allocations: 15.98 kB / 1.15 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.9223, allocations: 15.98 kB / 1.15 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.9223, allocations: 0 / 1.15 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.9228, allocations: 243.4 kB / 1.15 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.9228, allocations: 7.938 kB / 1.15 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.9229, allocations: 11.98 kB / 1.15 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.9233, allocations: 189.6 kB / 1.15 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9233, allocations: 0 / 1.15 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9233, allocations: 0 / 1.15 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.9233, allocations: 0 / 1.15 GB, free: 9.785 MB / 0.9044 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.0004764/0.9238, allocations: 363.4 kB / 1.151 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.9238, allocations: 8.031 kB / 1.151 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.9239, allocations: 0.9375 kB / 1.151 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.924, allocations: 164.4 kB / 1.151 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.9241, allocations: 30.25 kB / 1.151 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.9241, allocations: 3.938 kB / 1.151 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.9242, allocations: 45.69 kB / 1.151 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.9242, allocations: 0 / 1.151 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9243, allocations: 3.984 kB / 1.151 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.9243, allocations: 7.938 kB / 1.151 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.9243, allocations: 15.98 kB / 1.151 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.9252, allocations: 0.6066 MB / 1.151 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.9253, allocations: 14.58 kB / 1.151 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.9253, allocations: 8.922 kB / 1.152 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.9256, allocations: 340.4 kB / 1.152 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.9256, allocations: 38.5 kB / 1.152 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.9256, allocations: 0 / 1.152 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.9258, allocations: 37.69 kB / 1.152 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.9258, allocations: 51.41 kB / 1.152 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.9259, allocations: 101.9 kB / 1.152 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.9259, allocations: 25.7 kB / 1.152 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.926, allocations: 92.16 kB / 1.152 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.926, allocations: 3.938 kB / 1.152 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.9261, allocations: 17.72 kB / 1.152 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9262, allocations: 314.8 kB / 1.152 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.9262, allocations: 4 kB / 1.152 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.9263, allocations: 25.64 kB / 1.153 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.9263, allocations: 25.66 kB / 1.153 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9263, allocations: 0 / 1.153 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.525e-05/0.9264, allocations: 49.62 kB / 1.153 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.9265, allocations: 4 kB / 1.153 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9265, allocations: 0 / 1.153 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9265, allocations: 4 kB / 1.153 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.9266, allocations: 8 kB / 1.153 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9266, allocations: 0 / 1.153 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.9266, allocations: 3.906 kB / 1.153 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.9266, allocations: 15.98 kB / 1.153 GB, free: 7 MB / 0.9044 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.643e-05/0.9267, allocations: 109.8 kB / 1.153 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.9267, allocations: 4 kB / 1.153 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.9269, allocations: 112.9 kB / 1.153 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.345e-05/0.927, allocations: 184.2 kB / 1.153 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-05/0.9271, allocations: 180.3 kB / 1.153 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.713e-05/0.9272, allocations: 184.2 kB / 1.153 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.9275, allocations: 405.2 kB / 1.154 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.976e-05/0.9275, allocations: 104.9 kB / 1.154 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.9276, allocations: 108.9 kB / 1.154 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.135e-05/0.9277, allocations: 180.3 kB / 1.154 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/0.9278, allocations: 188.2 kB / 1.154 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.742e-05/0.9278, allocations: 180.3 kB / 1.154 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.452e-05/0.9279, allocations: 180.2 kB / 1.155 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.9281, allocations: 311.7 kB / 1.155 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.9283, allocations: 186.1 kB / 1.155 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.9284, allocations: 176.3 kB / 1.155 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.9285, allocations: 109.2 kB / 1.155 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.9286, allocations: 184.2 kB / 1.156 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.9287, allocations: 109 kB / 1.156 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.9288, allocations: 87.22 kB / 1.156 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9288, allocations: 0 / 1.156 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003365/0.9291, allocations: 59.92 kB / 1.156 GB, free: 3.504 MB / 0.9044 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.0003696/0.9295, allocations: 254.8 kB / 1.156 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.9296, allocations: 16 kB / 1.156 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9296, allocations: 0 / 1.156 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.9296, allocations: 0 / 1.156 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.9301, allocations: 469.3 kB / 1.157 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.9304, allocations: 185.9 kB / 1.157 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.9308, allocations: 0.6729 MB / 1.157 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.9309, allocations: 7.938 kB / 1.157 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.9309, allocations: 11.44 kB / 1.157 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9309, allocations: 0 / 1.157 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of Templates: time 0.004362/0.9353, allocations: 1.281 MB / 1.159 GB, free: 0.5664 MB / 0.9044 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches