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.007938/0.007938, allocations: 97.08 kB / 15.73 MB, free: 5.988 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.001626/0.001626, allocations: 188 kB / 16.67 MB, free: 5.918 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.849/2.849, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.9399/1.281, allocations: 148.3 MB / 1.365 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/1.281, allocations: 47.41 kB / 1.365 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/1.281, allocations: 0 / 1.365 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/1.281, allocations: 9.203 kB / 1.365 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/1.282, allocations: 13.62 kB / 1.365 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/1.282, allocations: 108.3 kB / 1.366 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/1.282, allocations: 33.59 kB / 1.366 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/1.282, allocations: 2.672 kB / 1.366 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/1.282, allocations: 19.33 kB / 1.366 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/1.283, allocations: 7.531 kB / 1.366 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/1.283, allocations: 5.344 kB / 1.366 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/1.283, allocations: 90 kB / 1.366 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/1.283, allocations: 10 kB / 1.366 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/1.283, allocations: 10.89 kB / 1.366 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/1.283, allocations: 77.03 kB / 1.366 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.283, allocations: 1.438 kB / 1.366 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.354e-06/1.283, allocations: 0 / 1.366 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.283, allocations: 0 / 1.366 GB, free: 0.6992 MB / 1.061 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.0005593/1.284, allocations: 338.2 kB / 1.366 GB, free: 348 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.284, allocations: 13.41 kB / 1.366 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/1.284, allocations: 16.5 kB / 1.366 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.284, allocations: 167.4 kB / 1.366 GB, free: 140 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/1.285, allocations: 31.02 kB / 1.366 GB, free: 104 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/1.285, allocations: 2.062 kB / 1.366 GB, free: 104 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/1.285, allocations: 50.02 kB / 1.366 GB, free: 64 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.285, allocations: 0.6094 kB / 1.366 GB, free: 64 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.285, allocations: 5.25 kB / 1.366 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/1.285, allocations: 2.141 kB / 1.366 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/1.285, allocations: 22.11 kB / 1.366 GB, free: 52 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/1.285, allocations: 260.6 kB / 1.367 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/1.285, allocations: 16.48 kB / 1.367 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/1.285, allocations: 9.922 kB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/1.285, allocations: 0.75 kB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/1.285, allocations: 32.09 kB / 1.367 GB, free: 15.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.285, allocations: 2.062 kB / 1.367 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.000157/1.286, allocations: 41.25 kB / 1.367 GB, free: 15.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.286, allocations: 51.41 kB / 1.367 GB, free: 15.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/1.286, allocations: 110.9 kB / 1.367 GB, free: 15.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/1.286, allocations: 25.83 kB / 1.367 GB, free: 15.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/1.286, allocations: 98.78 kB / 1.367 GB, free: 15.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/1.286, allocations: 2.266 kB / 1.367 GB, free: 15.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/1.286, allocations: 21.81 kB / 1.367 GB, free: 15.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.286, allocations: 312.7 kB / 1.367 GB, free: 15.03 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/1.286, allocations: 12.14 kB / 1.367 GB, free: 15.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/1.286, allocations: 25.16 kB / 1.367 GB, free: 14.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/1.286, allocations: 35.39 kB / 1.367 GB, free: 14.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.286, allocations: 1.406 kB / 1.367 GB, free: 14.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/1.286, allocations: 52.98 kB / 1.367 GB, free: 14.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.286, allocations: 6.75 kB / 1.367 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.286, allocations: 2.078 kB / 1.368 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.286, allocations: 1.469 kB / 1.368 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/1.286, allocations: 9.734 kB / 1.368 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.286, allocations: 5.625 kB / 1.368 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/1.286, allocations: 3.484 kB / 1.368 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/1.286, allocations: 1.812 kB / 1.368 GB, free: 14.91 MB / 1.076 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.371e-05/1.286, allocations: 118 kB / 1.368 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/1.286, allocations: 2.797 kB / 1.368 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/1.286, allocations: 4.781 kB / 1.368 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.286, allocations: 0 / 1.368 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.286, allocations: 5.547 kB / 1.368 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.286, allocations: 4 kB / 1.368 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.287, allocations: 344 kB / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.287, allocations: 2.062 kB / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/1.287, allocations: 1.469 kB / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.287, allocations: 3.938 kB / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.287, allocations: 2.484 kB / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.287, allocations: 0 / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.287, allocations: 0 / 1.368 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.512e-05/1.287, allocations: 67.17 kB / 1.368 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/1.287, allocations: 78.66 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/1.287, allocations: 5.891 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/1.287, allocations: 4.188 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/1.287, allocations: 0.5625 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/1.287, allocations: 1 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.873e-05/1.287, allocations: 93.44 kB / 1.368 GB, free: 14.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.287, allocations: 4.031 kB / 1.368 GB, free: 14.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002128/1.287, allocations: 6.344 kB / 1.368 GB, free: 14.13 MB / 1.076 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.0001118/1.287, allocations: 99.55 kB / 1.368 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/1.288, allocations: 17.16 kB / 1.368 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.288, allocations: 3.938 kB / 1.368 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/1.288, allocations: 2.562 kB / 1.368 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.288, allocations: 5.531 kB / 1.368 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/1.288, allocations: 117.1 kB / 1.368 GB, free: 13.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/1.288, allocations: 0.676 MB / 1.369 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.655e-05/1.288, allocations: 9.578 kB / 1.369 GB, free: 13.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/1.288, allocations: 8.625 kB / 1.369 GB, free: 13.21 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/1.288, allocations: 5.438 kB / 1.369 GB, free: 13.21 MB / 1.076 GB Notification: Performance of Templates: time 0.002836/1.291, allocations: 0.5047 MB / 1.37 GB, free: 13.14 MB / 1.076 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=480 -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