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.0008988/0.0008989, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009425/0.0009425, allocations: 172.5 kB / 16.26 MB, free: 6.664 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.588/1.588, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 3.203/3.203, allocations: 470.6 MB / 0.7442 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003597, allocations: 9.5 kB / 0.9123 GB, free: 34.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3829, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1974/0.5804, allocations: 143.7 MB / 1.21 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000213/0.5807, allocations: 59.78 kB / 1.21 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.5808, allocations: 4 kB / 1.21 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.5809, allocations: 4 kB / 1.21 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.5811, allocations: 11.92 kB / 1.21 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.5818, allocations: 100.7 kB / 1.21 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.582, allocations: 59.81 kB / 1.21 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.5821, allocations: 4 kB / 1.21 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.5822, allocations: 11.98 kB / 1.21 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.5823, allocations: 15.92 kB / 1.21 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.5823, allocations: 4 kB / 1.21 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.5827, allocations: 83.66 kB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.5828, allocations: 11.98 kB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.5828, allocations: 37.62 kB / 1.211 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.5831, allocations: 68.19 kB / 1.211 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5831, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5831, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.5831, allocations: 0 / 1.211 GB, free: 10.68 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.000537/0.5837, allocations: 339.5 kB / 1.211 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5837, allocations: 8.031 kB / 1.211 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.584, allocations: 20.92 kB / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.5842, allocations: 168.3 kB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.867e-05/0.5843, allocations: 33.64 kB / 1.211 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.5843, allocations: 3.938 kB / 1.211 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.5845, allocations: 41.69 kB / 1.211 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.5845, allocations: 8 kB / 1.211 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.5845, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.5845, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.5846, allocations: 23.97 kB / 1.211 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.5851, allocations: 260.8 kB / 1.212 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.5852, allocations: 18.52 kB / 1.212 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.5852, allocations: 12.92 kB / 1.212 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.5852, allocations: 0 / 1.212 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5853, allocations: 34.55 kB / 1.212 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.5853, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.5855, allocations: 33.7 kB / 1.212 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5855, allocations: 59.34 kB / 1.212 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5856, allocations: 105.8 kB / 1.212 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.5857, allocations: 29.77 kB / 1.212 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.5857, allocations: 91.95 kB / 1.212 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.5857, allocations: 0 / 1.212 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.5858, allocations: 17.72 kB / 1.212 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5859, allocations: 314.8 kB / 1.212 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.586, allocations: 4 kB / 1.212 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.586, allocations: 22.58 kB / 1.212 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.5861, allocations: 34.5 kB / 1.212 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5861, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.606e-05/0.5862, allocations: 53.64 kB / 1.212 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5862, allocations: 7.984 kB / 1.212 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5862, allocations: 4.25 kB / 1.212 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5863, allocations: 3.938 kB / 1.212 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.5863, allocations: 8.094 kB / 1.212 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5863, allocations: 11.94 kB / 1.212 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.5864, allocations: 7.844 kB / 1.212 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5864, allocations: 0 / 1.212 GB, free: 8.688 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 9.834e-05/0.5865, allocations: 113.8 kB / 1.212 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.5865, allocations: 0 / 1.212 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.5866, allocations: 15.11 kB / 1.213 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5866, allocations: 0 / 1.213 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5866, allocations: 3.938 kB / 1.213 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5866, allocations: 0 / 1.213 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.587, allocations: 346.7 kB / 1.213 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.587, allocations: 0 / 1.213 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.587, allocations: 0 / 1.213 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.587, allocations: 7.938 kB / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.587, allocations: 0 / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.587, allocations: 0 / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.587, allocations: 0 / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.923e-05/0.5871, allocations: 65.16 kB / 1.213 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.5872, allocations: 81.05 kB / 1.213 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5872, allocations: 0 / 1.213 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.5873, allocations: 11.92 kB / 1.213 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.5873, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.5873, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.5874, allocations: 79.28 kB / 1.213 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5874, allocations: 0 / 1.213 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001969/0.5876, allocations: 16.03 kB / 1.213 GB, free: 7.859 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.0001492/0.5878, allocations: 95.25 kB / 1.213 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.5878, allocations: 15.98 kB / 1.213 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5879, allocations: 0 / 1.213 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.804e-06/0.5879, allocations: 3.938 kB / 1.213 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.5881, allocations: 8 kB / 1.213 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.5885, allocations: 129.3 kB / 1.213 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5889, allocations: 0.677 MB / 1.214 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.796e-05/0.589, allocations: 8.078 kB / 1.214 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.589, allocations: 7.438 kB / 1.214 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.589, allocations: 4 kB / 1.214 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.003378/0.5924, allocations: 494.1 kB / 1.214 GB, free: 6.383 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/jenkins/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