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.007226/0.007226, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001627/0.001627, allocations: 193.7 kB / 16.67 MB, free: 5.93 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.362/2.362, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8891/0.8903, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1948/1.085, allocations: 135.4 MB / 1.22 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002612/1.086, allocations: 55.33 kB / 1.22 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/1.086, allocations: 0 / 1.22 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/1.086, allocations: 5.031 kB / 1.22 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/1.086, allocations: 10.38 kB / 1.22 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/1.087, allocations: 244.8 kB / 1.22 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/1.087, allocations: 33.08 kB / 1.22 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/1.088, allocations: 2.5 kB / 1.22 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/1.088, allocations: 16.69 kB / 1.22 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/1.088, allocations: 18.62 kB / 1.221 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/1.088, allocations: 1.281 kB / 1.221 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/1.088, allocations: 244.7 kB / 1.221 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/1.088, allocations: 6.516 kB / 1.221 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/1.088, allocations: 16.23 kB / 1.221 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/1.089, allocations: 176.1 kB / 1.221 GB, free: 320 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.089, allocations: 0 / 1.221 GB, free: 320 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/1.089, allocations: 0 / 1.221 GB, free: 320 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.089, allocations: 1 kB / 1.221 GB, free: 320 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.0004782/1.089, allocations: 365.1 kB / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.089, allocations: 13.19 kB / 1.221 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/1.089, allocations: 10.25 kB / 1.221 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/1.09, allocations: 165.8 kB / 1.221 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/1.09, allocations: 31.44 kB / 1.221 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/1.09, allocations: 5.031 kB / 1.222 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.09, allocations: 39.75 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.09, allocations: 3.984 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.09, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/1.09, allocations: 1.312 kB / 1.222 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/1.09, allocations: 17.39 kB / 1.222 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/1.091, allocations: 0.6005 MB / 1.222 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/1.091, allocations: 20.14 kB / 1.222 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/1.091, allocations: 6.422 kB / 1.222 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/1.091, allocations: 334.5 kB / 1.222 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.091, allocations: 34.56 kB / 1.223 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/1.091, allocations: 1.312 kB / 1.223 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001704/1.091, allocations: 36.05 kB / 1.223 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.091, allocations: 55.39 kB / 1.223 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/1.092, allocations: 100.1 kB / 1.223 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/1.092, allocations: 25.7 kB / 1.223 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/1.092, allocations: 89.11 kB / 1.223 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/1.092, allocations: 9.109 kB / 1.223 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/1.092, allocations: 17.22 kB / 1.223 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.092, allocations: 323.7 kB / 1.223 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/1.092, allocations: 2.438 kB / 1.223 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/1.092, allocations: 18.05 kB / 1.223 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/1.092, allocations: 23.5 kB / 1.223 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.092, allocations: 9.125 kB / 1.223 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.451e-05/1.092, allocations: 54.03 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.092, allocations: 5.531 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.092, allocations: 1.188 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.092, allocations: 0 / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/1.092, allocations: 9.312 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.092, allocations: 0 / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/1.092, allocations: 1.938 kB / 1.223 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/1.092, allocations: 4.969 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 9.495e-05/1.092, allocations: 116.5 kB / 1.223 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/1.092, allocations: 1.156 kB / 1.223 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/1.092, allocations: 120.1 kB / 1.224 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/1.092, allocations: 185.3 kB / 1.224 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-05/1.093, allocations: 177.4 kB / 1.224 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.146e-05/1.093, allocations: 185.4 kB / 1.224 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/1.093, allocations: 407.4 kB / 1.224 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/1.093, allocations: 102 kB / 1.225 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/1.093, allocations: 106.1 kB / 1.225 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.473e-05/1.093, allocations: 177.4 kB / 1.225 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/1.093, allocations: 189.4 kB / 1.225 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.236e-05/1.093, allocations: 185.8 kB / 1.225 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-05/1.093, allocations: 176.3 kB / 1.225 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/1.093, allocations: 304.8 kB / 1.226 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/1.093, allocations: 194.9 kB / 1.226 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/1.093, allocations: 185.4 kB / 1.226 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.094, allocations: 104.4 kB / 1.226 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/1.094, allocations: 185.3 kB / 1.226 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/1.094, allocations: 102.1 kB / 1.226 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.871e-05/1.094, allocations: 87.59 kB / 1.226 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/1.094, allocations: 0 / 1.226 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003402/1.094, allocations: 62.73 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.0003579/1.095, allocations: 264.8 kB / 1.227 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/1.095, allocations: 10.88 kB / 1.227 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.095, allocations: 128 / 1.227 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/1.095, allocations: 4 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.0003987/1.095, allocations: 459.8 kB / 1.227 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/1.095, allocations: 189.8 kB / 1.227 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/1.096, allocations: 0.679 MB / 1.228 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.69e-05/1.096, allocations: 8.594 kB / 1.228 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/1.096, allocations: 8.812 kB / 1.228 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/1.096, allocations: 0 / 1.228 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of Templates: time 0.00388/1.1, allocations: 1.283 MB / 1.229 GB, free: 8.012 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