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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 113 kB / 17.6 MB, free: 4.684 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.002015/0.002015, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.88 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.178, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2631/1.441, allocations: 148.3 MB / 1.417 GB, free: 10.15 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0002458/1.441, allocations: 58.97 kB / 1.417 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/1.441, allocations: 3.938 kB / 1.417 GB, free: 10.1 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/1.441, allocations: 1.062 kB / 1.417 GB, free: 10.1 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/1.441, allocations: 11.27 kB / 1.417 GB, free: 10.09 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/1.442, allocations: 114.1 kB / 1.417 GB, free: 10.01 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/1.442, allocations: 29.16 kB / 1.417 GB, free: 10 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/1.442, allocations: 6.188 kB / 1.417 GB, free: 9.996 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/1.443, allocations: 13.17 kB / 1.417 GB, free: 9.992 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.443, allocations: 17.86 kB / 1.417 GB, free: 9.98 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/1.443, allocations: 1.281 kB / 1.417 GB, free: 9.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/1.443, allocations: 90.33 kB / 1.417 GB, free: 9.926 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/1.443, allocations: 15.52 kB / 1.417 GB, free: 9.914 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/1.443, allocations: 16.38 kB / 1.417 GB, free: 9.902 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/1.443, allocations: 70.08 kB / 1.417 GB, free: 9.871 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.443, allocations: 5.562 kB / 1.417 GB, free: 9.867 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.993e-06/1.443, allocations: 0 / 1.417 GB, free: 9.867 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.443, allocations: 0 / 1.417 GB, free: 9.867 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.0006015/1.444, allocations: 335.1 kB / 1.418 GB, free: 9.508 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.444, allocations: 8.875 kB / 1.418 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/1.444, allocations: 25.66 kB / 1.418 GB, free: 9.496 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/1.445, allocations: 165.9 kB / 1.418 GB, free: 9.297 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/1.445, allocations: 30.98 kB / 1.418 GB, free: 9.262 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.445, allocations: 0 / 1.418 GB, free: 9.262 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/1.445, allocations: 49.09 kB / 1.418 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.445, allocations: 0 / 1.418 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/1.445, allocations: 0 / 1.418 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.445, allocations: 10.39 kB / 1.418 GB, free: 9.211 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/1.445, allocations: 18.58 kB / 1.418 GB, free: 9.203 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/1.446, allocations: 256.8 kB / 1.418 GB, free: 8.918 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/1.446, allocations: 15.64 kB / 1.418 GB, free: 8.895 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/1.446, allocations: 10.17 kB / 1.418 GB, free: 8.883 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/1.446, allocations: 5.281 kB / 1.418 GB, free: 8.879 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/1.446, allocations: 35.91 kB / 1.418 GB, free: 8.836 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/1.446, allocations: 0 / 1.418 GB, free: 8.836 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0002109/1.446, allocations: 35.2 kB / 1.418 GB, free: 8.801 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/1.446, allocations: 55.34 kB / 1.418 GB, free: 8.734 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/1.446, allocations: 110.1 kB / 1.418 GB, free: 8.625 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/1.446, allocations: 25.7 kB / 1.418 GB, free: 8.594 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/1.446, allocations: 93.55 kB / 1.418 GB, free: 8.5 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/1.446, allocations: 1.438 kB / 1.418 GB, free: 8.5 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/1.447, allocations: 25.48 kB / 1.418 GB, free: 8.473 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002185/1.447, allocations: 315.6 kB / 1.419 GB, free: 8.156 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/1.447, allocations: 2.812 kB / 1.419 GB, free: 8.156 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/1.447, allocations: 27.73 kB / 1.419 GB, free: 8.125 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/1.447, allocations: 38.09 kB / 1.419 GB, free: 8.086 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.447, allocations: 1.094 kB / 1.419 GB, free: 8.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001622/1.447, allocations: 53.12 kB / 1.419 GB, free: 8.043 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.447, allocations: 8.438 kB / 1.419 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.447, allocations: 1.469 kB / 1.419 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.447, allocations: 1.188 kB / 1.419 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/1.447, allocations: 13.62 kB / 1.419 GB, free: 8.035 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.447, allocations: 5.25 kB / 1.419 GB, free: 8.031 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/1.447, allocations: 5.094 kB / 1.419 GB, free: 8.027 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.447, allocations: 6.094 kB / 1.419 GB, free: 8.023 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 0.0001334/1.448, allocations: 112 kB / 1.419 GB, free: 7.906 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/1.448, allocations: 1.094 kB / 1.419 GB, free: 7.906 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/1.448, allocations: 8.172 kB / 1.419 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.448, allocations: 1.125 kB / 1.419 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.448, allocations: 3.938 kB / 1.419 GB, free: 7.895 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.448, allocations: 4.078 kB / 1.419 GB, free: 7.891 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/1.448, allocations: 355.8 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.448, allocations: 0 / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/1.448, allocations: 1.406 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.448, allocations: 3.938 kB / 1.419 GB, free: 7.488 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.448, allocations: 5.359 kB / 1.419 GB, free: 7.484 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.448, allocations: 0 / 1.419 GB, free: 7.484 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.448, allocations: 0 / 1.419 GB, free: 7.484 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/1.448, allocations: 55.7 kB / 1.419 GB, free: 7.418 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/1.448, allocations: 86.2 kB / 1.42 GB, free: 7.316 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/1.448, allocations: 1.125 kB / 1.42 GB, free: 7.316 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.448, allocations: 6.453 kB / 1.42 GB, free: 7.312 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/1.449, allocations: 0 / 1.42 GB, free: 7.312 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/1.449, allocations: 1.344 kB / 1.42 GB, free: 7.312 MB / 1.107 GB Notification: Performance of sorting global known variables: time 8.079e-05/1.449, allocations: 83.5 kB / 1.42 GB, free: 7.234 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/1.449, allocations: 1.062 kB / 1.42 GB, free: 7.234 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003584/1.449, allocations: 10.25 kB / 1.42 GB, free: 7.23 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 0.0002493/1.449, allocations: 104.8 kB / 1.42 GB, free: 7.137 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001235/1.449, allocations: 12.38 kB / 1.42 GB, free: 7.133 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.449, allocations: 1.094 kB / 1.42 GB, free: 7.133 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/1.449, allocations: 2.156 kB / 1.42 GB, free: 7.133 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/1.45, allocations: 3.875 kB / 1.42 GB, free: 7.133 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/1.45, allocations: 118.5 kB / 1.42 GB, free: 7.016 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/1.451, allocations: 0.6805 MB / 1.421 GB, free: 6.312 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.751e-05/1.451, allocations: 9.047 kB / 1.421 GB, free: 6.309 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/1.451, allocations: 8.781 kB / 1.421 GB, free: 6.301 MB / 1.107 GB Notification: Performance of SimCode: time 6.21e-07/1.451, allocations: 0 / 1.421 GB, free: 6.301 MB / 1.107 GB Notification: Performance of Templates: time 0.004464/1.455, allocations: 0.5185 MB / 1.421 GB, free: 6.035 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.79492599144578]