Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001972/0.001972, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002108/0.002109, allocations: 192.4 kB / 16.25 MB, free: 6.645 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 68.53 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3425, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1472/0.4898, allocations: 145.8 MB / 1.21 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.49, allocations: 47.86 kB / 1.21 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.49, allocations: 4 kB / 1.21 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.4901, allocations: 3.938 kB / 1.21 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.4902, allocations: 7.969 kB / 1.21 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.4907, allocations: 107 kB / 1.21 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.4907, allocations: 39.92 kB / 1.21 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.4908, allocations: 3.984 kB / 1.21 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.4908, allocations: 19.92 kB / 1.21 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.4909, allocations: 11.94 kB / 1.21 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.4909, allocations: 4 kB / 1.21 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.4912, allocations: 75.78 kB / 1.21 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.4912, allocations: 15.97 kB / 1.21 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.4912, allocations: 15.86 kB / 1.21 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.4914, allocations: 68.14 kB / 1.21 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4914, allocations: 0 / 1.21 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4914, allocations: 4 kB / 1.21 GB, free: 8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.4914, allocations: 0 / 1.21 GB, free: 8 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.000357/0.4918, allocations: 339.5 kB / 1.211 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.4918, allocations: 12.03 kB / 1.211 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.4921, allocations: 24.77 kB / 1.211 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.074e-05/0.4922, allocations: 160.4 kB / 1.211 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.4922, allocations: 33.64 kB / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4923, allocations: 0 / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4924, allocations: 57.59 kB / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4924, allocations: 0 / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4924, allocations: 0 / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.4924, allocations: 4 kB / 1.211 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.4925, allocations: 15.98 kB / 1.211 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.4928, allocations: 264.8 kB / 1.211 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.4929, allocations: 18.58 kB / 1.211 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.4929, allocations: 4.859 kB / 1.211 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.4929, allocations: 0 / 1.211 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.493, allocations: 38.56 kB / 1.211 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.493, allocations: 0 / 1.211 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.4931, allocations: 33.8 kB / 1.211 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.4931, allocations: 59.38 kB / 1.212 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.4932, allocations: 109.8 kB / 1.212 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4932, allocations: 25.7 kB / 1.212 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.4933, allocations: 92.03 kB / 1.212 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.4933, allocations: 0 / 1.212 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.4933, allocations: 17.72 kB / 1.212 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.4934, allocations: 310.8 kB / 1.212 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.4935, allocations: 12 kB / 1.212 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.4935, allocations: 26.5 kB / 1.212 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.4935, allocations: 26.58 kB / 1.212 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4935, allocations: 256 / 1.212 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.1e-05/0.4936, allocations: 61.59 kB / 1.212 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4937, allocations: 8 kB / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4937, allocations: 4 kB / 1.212 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.4937, allocations: 0 / 1.212 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.4937, allocations: 11.94 kB / 1.212 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4938, allocations: 3.938 kB / 1.212 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.4938, allocations: 0 / 1.212 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4938, allocations: 11.92 kB / 1.212 GB, free: 6.004 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 6.786e-05/0.4939, allocations: 113.8 kB / 1.212 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.4939, allocations: 11.97 kB / 1.212 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.4939, allocations: 3.125 kB / 1.212 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4939, allocations: 0 / 1.212 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.494, allocations: 3.938 kB / 1.212 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.494, allocations: 96 / 1.212 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.4942, allocations: 350.7 kB / 1.213 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4942, allocations: 0 / 1.213 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.4942, allocations: 4 kB / 1.213 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4942, allocations: 3.938 kB / 1.213 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.4943, allocations: 4.031 kB / 1.213 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4943, allocations: 0 / 1.213 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4943, allocations: 0 / 1.213 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.169e-05/0.4943, allocations: 61.05 kB / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.4944, allocations: 85.03 kB / 1.213 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4944, allocations: 0 / 1.213 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.4945, allocations: 4 kB / 1.213 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-06/0.4945, allocations: 4.031 kB / 1.213 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.4945, allocations: 0 / 1.213 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.238e-05/0.4946, allocations: 87.27 kB / 1.213 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4946, allocations: 4 kB / 1.213 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001941/0.4948, allocations: 4 kB / 1.213 GB, free: 5.168 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 8.7e-05/0.4948, allocations: 99.19 kB / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.4949, allocations: 16 kB / 1.213 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4949, allocations: 4.188 kB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.4949, allocations: 0 / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4952, allocations: 8.172 kB / 1.213 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.4954, allocations: 110.7 kB / 1.213 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.4956, allocations: 0.6729 MB / 1.214 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.4957, allocations: 12.05 kB / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.4957, allocations: 11.44 kB / 1.214 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.4957, allocations: 0 / 1.214 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of Templates: time 0.002336/0.4981, allocations: 0.501 MB / 1.214 GB, free: 3.715 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches