Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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_10_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.001705/0.001705, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001951/0.001951, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.813/2.813, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 59.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7066, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1801/0.8868, allocations: 145.8 MB / 1.159 GB, free: 388 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001525/0.887, allocations: 43.88 kB / 1.159 GB, free: 344 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.887, allocations: 0 / 1.159 GB, free: 344 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.8872, allocations: 3.984 kB / 1.159 GB, free: 340 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.8872, allocations: 15.92 kB / 1.159 GB, free: 324 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.8877, allocations: 95.73 kB / 1.159 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.8878, allocations: 35.84 kB / 1.159 GB, free: 192 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.8879, allocations: 7.984 kB / 1.159 GB, free: 184 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.8879, allocations: 11.98 kB / 1.159 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.888, allocations: 15.92 kB / 1.159 GB, free: 156 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.888, allocations: 0 / 1.159 GB, free: 156 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.8883, allocations: 87.72 kB / 1.159 GB, free: 68 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.8883, allocations: 11.98 kB / 1.159 GB, free: 56 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.8884, allocations: 15.94 kB / 1.159 GB, free: 40 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.8886, allocations: 65.95 kB / 1.16 GB, free: 15.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8886, allocations: 0 / 1.16 GB, free: 15.97 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8886, allocations: 0 / 1.16 GB, free: 15.97 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8886, allocations: 0 / 1.16 GB, free: 15.97 MB / 0.92 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.0004688/0.8891, allocations: 343.4 kB / 1.16 GB, free: 15.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.8891, allocations: 8.031 kB / 1.16 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.8895, allocations: 20.92 kB / 1.16 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.8896, allocations: 168.2 kB / 1.16 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.8897, allocations: 41.56 kB / 1.16 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.8897, allocations: 0 / 1.16 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.8899, allocations: 45.69 kB / 1.16 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8899, allocations: 0 / 1.16 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.8899, allocations: 3.938 kB / 1.16 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.89, allocations: 0 / 1.16 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.89, allocations: 23.98 kB / 1.16 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.8905, allocations: 264.8 kB / 1.16 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.44e-05/0.8906, allocations: 14.58 kB / 1.16 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.8906, allocations: 8.922 kB / 1.16 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.8906, allocations: 0 / 1.16 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.8906, allocations: 34.56 kB / 1.16 GB, free: 14.85 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.8907, allocations: 0 / 1.16 GB, free: 14.85 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.8908, allocations: 37.62 kB / 1.161 GB, free: 14.81 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.8909, allocations: 63.34 kB / 1.161 GB, free: 14.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.891, allocations: 109.8 kB / 1.161 GB, free: 14.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.891, allocations: 25.7 kB / 1.161 GB, free: 14.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.8911, allocations: 91.97 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-06/0.8911, allocations: 3.906 kB / 1.161 GB, free: 14.49 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.8912, allocations: 21.84 kB / 1.161 GB, free: 14.46 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8913, allocations: 314.8 kB / 1.161 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.8914, allocations: 3.984 kB / 1.161 GB, free: 14.14 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.8914, allocations: 26.58 kB / 1.161 GB, free: 14.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.8915, allocations: 38.5 kB / 1.161 GB, free: 14.06 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8915, allocations: 0 / 1.161 GB, free: 14.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.493e-05/0.8916, allocations: 49.64 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8916, allocations: 4 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8916, allocations: 0 / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.8916, allocations: 7.984 kB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.8917, allocations: 4 kB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8917, allocations: 3.938 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.8918, allocations: 4.094 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.8918, allocations: 4 kB / 1.161 GB, free: 13.98 MB / 0.92 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 0.000105/0.8919, allocations: 113.8 kB / 1.161 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.8919, allocations: 7.844 kB / 1.161 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.8919, allocations: 3.125 kB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.892, allocations: 0 / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.892, allocations: 15.86 kB / 1.161 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.892, allocations: 0 / 1.161 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.8923, allocations: 342.8 kB / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8923, allocations: 0 / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.8924, allocations: 0 / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8924, allocations: 4.031 kB / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8924, allocations: 0 / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.8924, allocations: 4 kB / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8924, allocations: 3.984 kB / 1.162 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.84e-05/0.8925, allocations: 69.03 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.8926, allocations: 85.05 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.8926, allocations: 0 / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.8927, allocations: 0 / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.8927, allocations: 3.984 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.8927, allocations: 4 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.8928, allocations: 87.53 kB / 1.162 GB, free: 13.14 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.8928, allocations: 0 / 1.162 GB, free: 13.14 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001979/0.893, allocations: 4 kB / 1.162 GB, free: 13.14 MB / 0.92 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.0001416/0.8931, allocations: 103.8 kB / 1.162 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.8932, allocations: 19.92 kB / 1.162 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8932, allocations: 0 / 1.162 GB, free: 13.01 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.555e-06/0.8933, allocations: 4 kB / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.8936, allocations: 8.688 kB / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.8939, allocations: 122.7 kB / 1.162 GB, free: 12.85 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8943, allocations: 0.6768 MB / 1.163 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.247e-05/0.8944, allocations: 4 kB / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.8944, allocations: 7.438 kB / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.8944, allocations: 0 / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of Templates: time 0.00313/0.8976, allocations: 0.504 MB / 1.163 GB, free: 11.64 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches