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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 489.3 MB / 0.7687 GB, free: 3.703 MB / 0.6075 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.89 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8808, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1702/1.051, allocations: 147.8 MB / 1.407 GB, free: 10.93 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001368/1.051, allocations: 54.88 kB / 1.407 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/1.051, allocations: 1.469 kB / 1.407 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 9.005e-05/1.051, allocations: 3.938 kB / 1.407 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/1.051, allocations: 10.3 kB / 1.407 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/1.052, allocations: 107.3 kB / 1.407 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/1.052, allocations: 36.38 kB / 1.407 GB, free: 10.79 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/1.052, allocations: 6.719 kB / 1.407 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/1.052, allocations: 12.34 kB / 1.407 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/1.052, allocations: 14.09 kB / 1.407 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/1.052, allocations: 1.469 kB / 1.407 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/1.052, allocations: 88.16 kB / 1.407 GB, free: 10.71 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/1.052, allocations: 7.953 kB / 1.407 GB, free: 10.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/1.052, allocations: 13.41 kB / 1.407 GB, free: 10.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/1.053, allocations: 79.94 kB / 1.407 GB, free: 10.66 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.053, allocations: 0 / 1.407 GB, free: 10.66 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.203e-06/1.053, allocations: 5.062 kB / 1.407 GB, free: 10.66 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.017e-06/1.053, allocations: 0 / 1.407 GB, free: 10.66 MB / 1.107 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.0004071/1.053, allocations: 334.9 kB / 1.408 GB, free: 10.3 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/1.053, allocations: 9.656 kB / 1.408 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/1.053, allocations: 20.56 kB / 1.408 GB, free: 10.29 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.053, allocations: 164.4 kB / 1.408 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/1.054, allocations: 35.14 kB / 1.408 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/1.054, allocations: 1.531 kB / 1.408 GB, free: 10.05 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/1.054, allocations: 48.5 kB / 1.408 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.054, allocations: 0 / 1.408 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.054, allocations: 5.297 kB / 1.408 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/1.054, allocations: 1 kB / 1.408 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/1.054, allocations: 22.3 kB / 1.408 GB, free: 9.996 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/1.054, allocations: 257 kB / 1.408 GB, free: 9.711 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/1.054, allocations: 21.17 kB / 1.408 GB, free: 9.684 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/1.054, allocations: 10.14 kB / 1.408 GB, free: 9.672 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/1.054, allocations: 0 / 1.408 GB, free: 9.672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.054, allocations: 31.59 kB / 1.408 GB, free: 9.633 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/1.054, allocations: 0 / 1.408 GB, free: 9.633 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/1.054, allocations: 39.59 kB / 1.408 GB, free: 9.594 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.054, allocations: 60.44 kB / 1.408 GB, free: 9.523 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/1.055, allocations: 105.2 kB / 1.408 GB, free: 9.418 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.055, allocations: 27.23 kB / 1.409 GB, free: 9.387 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/1.055, allocations: 93.59 kB / 1.409 GB, free: 9.293 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/1.055, allocations: 3.953 kB / 1.409 GB, free: 9.289 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/1.055, allocations: 21.08 kB / 1.409 GB, free: 9.266 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.055, allocations: 316.3 kB / 1.409 GB, free: 8.949 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/1.055, allocations: 6.812 kB / 1.409 GB, free: 8.945 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/1.055, allocations: 28.36 kB / 1.409 GB, free: 8.914 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/1.055, allocations: 30.48 kB / 1.409 GB, free: 8.883 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.055, allocations: 0 / 1.409 GB, free: 8.883 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.402e-05/1.055, allocations: 61.03 kB / 1.409 GB, free: 8.832 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.055, allocations: 6 kB / 1.409 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.055, allocations: 1.469 kB / 1.409 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.055, allocations: 0 / 1.409 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/1.055, allocations: 6.094 kB / 1.409 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.055, allocations: 5.531 kB / 1.409 GB, free: 8.828 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/1.055, allocations: 9.375 kB / 1.409 GB, free: 8.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/1.055, allocations: 2.156 kB / 1.409 GB, free: 8.82 MB / 1.107 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 7.71e-05/1.055, allocations: 108.4 kB / 1.409 GB, free: 8.707 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/1.055, allocations: 13.38 kB / 1.409 GB, free: 8.695 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/1.055, allocations: 8.562 kB / 1.409 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/1.055, allocations: 0 / 1.409 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.055, allocations: 3.938 kB / 1.409 GB, free: 8.688 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/1.055, allocations: 1.344 kB / 1.409 GB, free: 8.688 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/1.056, allocations: 337.8 kB / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.056, allocations: 1.469 kB / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/1.056, allocations: 1.094 kB / 1.41 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.056, allocations: 11.95 kB / 1.41 GB, free: 8.293 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/1.056, allocations: 1.5 kB / 1.41 GB, free: 8.293 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.056, allocations: 7.875 kB / 1.41 GB, free: 8.285 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/1.056, allocations: 0 / 1.41 GB, free: 8.285 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.693e-05/1.056, allocations: 56.11 kB / 1.41 GB, free: 8.219 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/1.056, allocations: 82.02 kB / 1.41 GB, free: 8.121 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.056, allocations: 1.156 kB / 1.41 GB, free: 8.121 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/1.056, allocations: 6.297 kB / 1.41 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/1.056, allocations: 4 kB / 1.41 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/1.056, allocations: 1.281 kB / 1.41 GB, free: 8.113 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.714e-05/1.056, allocations: 80.19 kB / 1.41 GB, free: 8.039 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.056, allocations: 0 / 1.41 GB, free: 8.039 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001864/1.056, allocations: 9.531 kB / 1.41 GB, free: 8.035 MB / 1.107 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.611e-05/1.056, allocations: 105.2 kB / 1.41 GB, free: 7.941 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/1.056, allocations: 13.16 kB / 1.41 GB, free: 7.938 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.056, allocations: 4.062 kB / 1.41 GB, free: 7.934 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/1.056, allocations: 2.719 kB / 1.41 GB, free: 7.934 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/1.057, allocations: 6.5 kB / 1.41 GB, free: 7.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/1.057, allocations: 137.3 kB / 1.41 GB, free: 7.781 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.057, allocations: 0.6806 MB / 1.411 GB, free: 7.078 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/1.057, allocations: 8.75 kB / 1.411 GB, free: 7.07 MB / 1.107 GB Notification: Performance of SimCode: time 2.2e-07/1.057, allocations: 0 / 1.411 GB, free: 7.07 MB / 1.107 GB Notification: Performance of Templates: time 0.001966/1.059, allocations: 0.5789 MB / 1.411 GB, free: 6.781 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.798651518998668]