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.005948/0.005948, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001286/0.001286, allocations: 197.3 kB / 16.68 MB, free: 5.918 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.219/2.219, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 59.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2042/1.207, allocations: 135.4 MB / 1.22 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002082/1.207, allocations: 59.12 kB / 1.22 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/1.207, allocations: 4 kB / 1.22 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/1.207, allocations: 5.484 kB / 1.22 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/1.207, allocations: 9.516 kB / 1.22 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/1.208, allocations: 248.9 kB / 1.22 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/1.208, allocations: 32.72 kB / 1.22 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/1.208, allocations: 3.062 kB / 1.22 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/1.208, allocations: 16.2 kB / 1.22 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/1.209, allocations: 18.27 kB / 1.221 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/1.209, allocations: 1.5 kB / 1.221 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/1.209, allocations: 236.9 kB / 1.221 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/1.209, allocations: 10.08 kB / 1.221 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/1.209, allocations: 12.78 kB / 1.221 GB, free: 400 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/1.21, allocations: 187 kB / 1.221 GB, free: 312 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.21, allocations: 5.281 kB / 1.221 GB, free: 308 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/1.21, allocations: 7.875 kB / 1.221 GB, free: 300 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.64e-06/1.21, allocations: 0 / 1.221 GB, free: 300 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.0004878/1.21, allocations: 357.8 kB / 1.221 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.21, allocations: 8.938 kB / 1.221 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/1.21, allocations: 3.156 kB / 1.221 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/1.21, allocations: 165.5 kB / 1.221 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/1.21, allocations: 31.58 kB / 1.221 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/1.21, allocations: 9.312 kB / 1.222 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.211, allocations: 42.5 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/1.211, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.211, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.211, allocations: 2.5 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/1.211, allocations: 16.83 kB / 1.222 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/1.212, allocations: 0.5927 MB / 1.222 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/1.212, allocations: 23.92 kB / 1.222 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/1.212, allocations: 13.98 kB / 1.222 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/1.212, allocations: 330.2 kB / 1.222 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.212, allocations: 39.64 kB / 1.223 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.212, allocations: 0 / 1.223 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/1.212, allocations: 31.7 kB / 1.223 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.212, allocations: 56.47 kB / 1.223 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/1.212, allocations: 108.5 kB / 1.223 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/1.212, allocations: 25.7 kB / 1.223 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/1.212, allocations: 85.23 kB / 1.223 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/1.212, allocations: 4.844 kB / 1.223 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/1.212, allocations: 16.91 kB / 1.223 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.212, allocations: 323.8 kB / 1.223 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/1.212, allocations: 2.531 kB / 1.223 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/1.212, allocations: 22.16 kB / 1.223 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/1.213, allocations: 19.86 kB / 1.223 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.213, allocations: 0 / 1.223 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.101e-05/1.213, allocations: 51.77 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.213, allocations: 4.438 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.213, allocations: 1.156 kB / 1.223 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.213, allocations: 4.062 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/1.213, allocations: 8.609 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.213, allocations: 4.891 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/1.213, allocations: 1.219 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/1.213, allocations: 6.219 kB / 1.223 GB, free: 13.7 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.478e-05/1.213, allocations: 116.2 kB / 1.223 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/1.213, allocations: 0.9688 kB / 1.223 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/1.213, allocations: 124.2 kB / 1.224 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/1.213, allocations: 181.4 kB / 1.224 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-05/1.213, allocations: 185.5 kB / 1.224 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/1.213, allocations: 176.3 kB / 1.224 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/1.213, allocations: 413.1 kB / 1.224 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/1.213, allocations: 109 kB / 1.225 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/1.214, allocations: 110 kB / 1.225 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/1.214, allocations: 181.3 kB / 1.225 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/1.214, allocations: 181.5 kB / 1.225 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.117e-05/1.214, allocations: 181.2 kB / 1.225 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.058e-05/1.214, allocations: 177.3 kB / 1.225 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/1.214, allocations: 316.4 kB / 1.226 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/1.214, allocations: 183 kB / 1.226 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/1.214, allocations: 186 kB / 1.226 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.214, allocations: 111.2 kB / 1.226 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/1.214, allocations: 181.3 kB / 1.226 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.214, allocations: 106.4 kB / 1.226 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.535e-05/1.214, allocations: 87.42 kB / 1.226 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 1.062 kB / 1.226 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003301/1.215, allocations: 58.31 kB / 1.226 GB, free: 10.26 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.0003282/1.215, allocations: 255.9 kB / 1.227 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/1.215, allocations: 10.22 kB / 1.227 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.215, allocations: 0 / 1.227 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/1.215, allocations: 5.203 kB / 1.227 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/1.216, allocations: 459.3 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.000303/1.216, allocations: 186 kB / 1.227 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.216, allocations: 0.6711 MB / 1.228 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.788e-05/1.216, allocations: 4.688 kB / 1.228 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/1.216, allocations: 13.58 kB / 1.228 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/1.216, allocations: 4 kB / 1.228 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of Templates: time 0.003913/1.22, allocations: 1.295 MB / 1.229 GB, free: 8.004 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