Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001791/0.001791, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.7427 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.02 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3269, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1665/0.4935, allocations: 145.7 MB / 1.206 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.4937, allocations: 63.83 kB / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.4937, allocations: 0 / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.4938, allocations: 0 / 1.207 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.494, allocations: 15.91 kB / 1.207 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.4944, allocations: 101.1 kB / 1.207 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.977e-05/0.4945, allocations: 35.84 kB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.4946, allocations: 4 kB / 1.207 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.4946, allocations: 19.97 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.4947, allocations: 15.88 kB / 1.207 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4947, allocations: 0 / 1.207 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.4949, allocations: 87.7 kB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.495, allocations: 4 kB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.495, allocations: 15.92 kB / 1.207 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.4952, allocations: 48.22 kB / 1.207 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4952, allocations: 0 / 1.207 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4952, allocations: 0 / 1.207 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.4952, allocations: 0 / 1.207 GB, free: 11.88 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004321/0.4956, allocations: 339.5 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.4957, allocations: 8.031 kB / 1.207 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.4959, allocations: 16.92 kB / 1.207 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.496, allocations: 172.3 kB / 1.207 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.4961, allocations: 33.64 kB / 1.207 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.4961, allocations: 3.938 kB / 1.207 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4963, allocations: 45.69 kB / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4963, allocations: 0 / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4963, allocations: 0 / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4963, allocations: 0 / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.056e-05/0.4964, allocations: 19.98 kB / 1.207 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.4968, allocations: 268.8 kB / 1.208 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.4968, allocations: 18.52 kB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.4969, allocations: 8.922 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-06/0.4969, allocations: 0 / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4969, allocations: 38.55 kB / 1.208 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4969, allocations: 4 kB / 1.208 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.497, allocations: 33.7 kB / 1.208 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4971, allocations: 55.34 kB / 1.208 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.4973, allocations: 113.8 kB / 1.208 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4973, allocations: 29.64 kB / 1.208 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.4973, allocations: 87.95 kB / 1.208 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.4974, allocations: 4 kB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4975, allocations: 13.84 kB / 1.208 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4976, allocations: 326.8 kB / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.4977, allocations: 0 / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.4977, allocations: 22.58 kB / 1.208 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.4977, allocations: 34.5 kB / 1.208 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4978, allocations: 4 kB / 1.208 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.123e-05/0.4979, allocations: 57.53 kB / 1.209 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4979, allocations: 4 kB / 1.209 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4979, allocations: 0 / 1.209 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.4979, allocations: 4 kB / 1.209 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.498, allocations: 7.938 kB / 1.209 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.498, allocations: 3.938 kB / 1.209 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.498, allocations: 8 kB / 1.209 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.498, allocations: 0 / 1.209 GB, free: 9.879 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.564e-05/0.4981, allocations: 117.9 kB / 1.209 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.4982, allocations: 0 / 1.209 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.4982, allocations: 7.109 kB / 1.209 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.4982, allocations: 0 / 1.209 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4982, allocations: 7.938 kB / 1.209 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4982, allocations: 0 / 1.209 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.4986, allocations: 346.7 kB / 1.209 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4986, allocations: 4.031 kB / 1.209 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.4986, allocations: 0 / 1.209 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4986, allocations: 3.938 kB / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4986, allocations: 0 / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4986, allocations: 4 kB / 1.209 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4986, allocations: 0 / 1.209 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.363e-05/0.4987, allocations: 57.2 kB / 1.209 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4988, allocations: 88.95 kB / 1.209 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4988, allocations: 4.031 kB / 1.209 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.4989, allocations: 8.172 kB / 1.209 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.499, allocations: 7.938 kB / 1.209 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.499, allocations: 8 kB / 1.209 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.499, allocations: 79.28 kB / 1.209 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.499, allocations: 0 / 1.209 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001918/0.4992, allocations: 8 kB / 1.209 GB, free: 9.039 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 (1): * Single equations (assignments): 1 * 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.0001085/0.4993, allocations: 99.23 kB / 1.209 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.4994, allocations: 16 kB / 1.209 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4994, allocations: 0 / 1.209 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-06/0.4994, allocations: 7.938 kB / 1.209 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.4997, allocations: 5.828 kB / 1.209 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.4999, allocations: 136.3 kB / 1.21 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.5003, allocations: 0.6809 MB / 1.21 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.5003, allocations: 7.438 kB / 1.21 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.5003, allocations: 0 / 1.21 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.0022/0.5025, allocations: 0.558 MB / 1.211 GB, free: 7.469 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches