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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009864/0.0009864, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007951/0.007952, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 9.062 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3761, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1771/0.5533, allocations: 143.7 MB / 1.199 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.5535, allocations: 55.86 kB / 1.199 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.5536, allocations: 0 / 1.199 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.5537, allocations: 3.938 kB / 1.199 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.5538, allocations: 15.97 kB / 1.199 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.5543, allocations: 103.7 kB / 1.199 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5544, allocations: 51.89 kB / 1.199 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.5545, allocations: 0 / 1.199 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.5545, allocations: 23.91 kB / 1.199 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.5546, allocations: 11.94 kB / 1.199 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.5546, allocations: 7.938 kB / 1.199 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.5549, allocations: 75.78 kB / 1.199 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.555, allocations: 11.98 kB / 1.199 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.5551, allocations: 49.55 kB / 1.199 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.5552, allocations: 60.2 kB / 1.199 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5553, allocations: 0 / 1.199 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5553, allocations: 0 / 1.199 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5553, allocations: 0 / 1.199 GB, free: 4.727 MB / 0.9512 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.0004027/0.5557, allocations: 331.5 kB / 1.2 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5557, allocations: 8.031 kB / 1.2 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.556, allocations: 24.86 kB / 1.2 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.5561, allocations: 172.4 kB / 1.2 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.5562, allocations: 29.64 kB / 1.2 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.5562, allocations: 0 / 1.2 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.5564, allocations: 49.62 kB / 1.2 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5564, allocations: 0 / 1.2 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5564, allocations: 0 / 1.2 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.5564, allocations: 4 kB / 1.2 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.5565, allocations: 15.98 kB / 1.2 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.5569, allocations: 272.7 kB / 1.2 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.5569, allocations: 18.58 kB / 1.2 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.557, allocations: 8.859 kB / 1.2 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.557, allocations: 0 / 1.2 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.557, allocations: 50.55 kB / 1.2 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.557, allocations: 0 / 1.2 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.5572, allocations: 29.7 kB / 1.2 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.5572, allocations: 55.34 kB / 1.2 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.5573, allocations: 105.8 kB / 1.201 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5573, allocations: 25.7 kB / 1.201 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.5574, allocations: 92.05 kB / 1.201 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-06/0.5574, allocations: 3.906 kB / 1.201 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.5574, allocations: 13.84 kB / 1.201 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5575, allocations: 314.8 kB / 1.201 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.5576, allocations: 8 kB / 1.201 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.5576, allocations: 22.52 kB / 1.201 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.5577, allocations: 34.56 kB / 1.201 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5577, allocations: 4 kB / 1.201 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.341e-05/0.5577, allocations: 49.64 kB / 1.201 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5578, allocations: 7.984 kB / 1.201 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5578, allocations: 0 / 1.201 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5578, allocations: 0 / 1.201 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.5579, allocations: 11.94 kB / 1.201 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5579, allocations: 7.875 kB / 1.201 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.5579, allocations: 0 / 1.201 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.5579, allocations: 8.031 kB / 1.201 GB, free: 2.738 MB / 0.9512 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.22e-05/0.558, allocations: 123.3 kB / 1.201 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.5581, allocations: 3.906 kB / 1.201 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.5581, allocations: 7.109 kB / 1.201 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5581, allocations: 0 / 1.201 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.5581, allocations: 3.938 kB / 1.201 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5581, allocations: 0 / 1.201 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.5584, allocations: 346.7 kB / 1.202 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5584, allocations: 4.031 kB / 1.202 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.5584, allocations: 0 / 1.202 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5584, allocations: 3.938 kB / 1.202 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.5585, allocations: 0 / 1.202 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5585, allocations: 0 / 1.202 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5585, allocations: 0 / 1.202 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.233e-05/0.5585, allocations: 61.12 kB / 1.202 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.5586, allocations: 85.08 kB / 1.202 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5586, allocations: 4 kB / 1.202 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.5587, allocations: 3.984 kB / 1.202 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.5587, allocations: 8.078 kB / 1.202 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.5587, allocations: 0 / 1.202 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.5588, allocations: 87.53 kB / 1.202 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5588, allocations: 0 / 1.202 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001906/0.559, allocations: 8 kB / 1.202 GB, free: 1.902 MB / 0.9512 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 9.473e-05/0.5591, allocations: 103.2 kB / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.5592, allocations: 15.98 kB / 1.202 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5592, allocations: 0 / 1.202 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.5592, allocations: 4 kB / 1.202 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.5595, allocations: 2.062 kB / 1.202 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.5598, allocations: 136.6 kB / 1.202 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5601, allocations: 0.6809 MB / 1.203 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.817e-05/0.5601, allocations: 4 kB / 1.203 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.5602, allocations: 7.438 kB / 1.203 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.5602, allocations: 0 / 1.203 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of Templates: time 0.002777/0.563, allocations: 487.4 kB / 1.203 GB, free: 460 kB / 0.9512 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