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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 78.73 kB / 19.01 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002383/0.002383, allocations: 161.5 kB / 22.26 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 177.2 MB / 202.6 MB, free: 8.035 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.123/3.123, allocations: 394.1 MB / 0.6379 GB, free: 12.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 67.89 kB / 1.008 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4141, allocations: 181.8 MB / 1.186 GB, free: 1.625 MB / 1.123 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 1.054/1.468, allocations: 129.9 MB / 1.313 GB, free: 31.11 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/1.469, allocations: 47.12 kB / 1.313 GB, free: 31.09 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/1.469, allocations: 1.188 kB / 1.313 GB, free: 31.09 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/1.469, allocations: 5.766 kB / 1.313 GB, free: 31.08 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/1.469, allocations: 16.22 kB / 1.313 GB, free: 31.07 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/1.469, allocations: 108.5 kB / 1.313 GB, free: 31.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.597e-05/1.469, allocations: 38.19 kB / 1.313 GB, free: 31.01 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/1.469, allocations: 2.125 kB / 1.313 GB, free: 31.01 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/1.47, allocations: 12.28 kB / 1.313 GB, free: 31.01 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/1.47, allocations: 16.61 kB / 1.313 GB, free: 31 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/1.47, allocations: 1.219 kB / 1.313 GB, free: 31 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/1.47, allocations: 68.91 kB / 1.313 GB, free: 30.97 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/1.47, allocations: 14.77 kB / 1.313 GB, free: 30.96 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/1.47, allocations: 10.92 kB / 1.313 GB, free: 30.96 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/1.47, allocations: 68.16 kB / 1.313 GB, free: 30.95 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.47, allocations: 0 / 1.313 GB, free: 30.95 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.984e-06/1.47, allocations: 0 / 1.313 GB, free: 30.95 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.139e-06/1.47, allocations: 0 / 1.313 GB, free: 30.95 MB / 1.186 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.0003369/1.47, allocations: 258.7 kB / 1.313 GB, free: 30.69 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.47, allocations: 9.266 kB / 1.313 GB, free: 30.69 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/1.471, allocations: 25.77 kB / 1.313 GB, free: 30.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/1.471, allocations: 110.6 kB / 1.314 GB, free: 30.55 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/1.471, allocations: 57.33 kB / 1.314 GB, free: 30.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/1.471, allocations: 1.375 kB / 1.314 GB, free: 30.48 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.471, allocations: 75.89 kB / 1.314 GB, free: 30.41 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.471, allocations: 0 / 1.314 GB, free: 30.41 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.471, allocations: 1.094 kB / 1.314 GB, free: 30.41 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/1.471, allocations: 4.297 kB / 1.314 GB, free: 30.41 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/1.471, allocations: 22.02 kB / 1.314 GB, free: 30.41 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/1.471, allocations: 212.9 kB / 1.314 GB, free: 30.19 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/1.471, allocations: 20.98 kB / 1.314 GB, free: 30.16 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/1.471, allocations: 6.625 kB / 1.314 GB, free: 30.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/1.471, allocations: 1.375 kB / 1.314 GB, free: 30.16 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/1.471, allocations: 33.58 kB / 1.314 GB, free: 30.12 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.471, allocations: 0 / 1.314 GB, free: 30.12 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/1.472, allocations: 36.53 kB / 1.314 GB, free: 30.08 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/1.472, allocations: 52.78 kB / 1.314 GB, free: 30.02 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/1.472, allocations: 112.9 kB / 1.314 GB, free: 29.91 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/1.472, allocations: 31.36 kB / 1.314 GB, free: 29.88 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/1.472, allocations: 95.2 kB / 1.314 GB, free: 29.78 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/1.472, allocations: 5.688 kB / 1.314 GB, free: 29.78 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/1.472, allocations: 17.33 kB / 1.314 GB, free: 29.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/1.472, allocations: 317.8 kB / 1.315 GB, free: 29.44 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/1.472, allocations: 5.062 kB / 1.315 GB, free: 29.44 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/1.472, allocations: 25.52 kB / 1.315 GB, free: 29.41 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/1.472, allocations: 29.23 kB / 1.315 GB, free: 29.39 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.472, allocations: 0 / 1.315 GB, free: 29.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.354e-05/1.472, allocations: 61.09 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.472, allocations: 6.062 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.472, allocations: 1.906 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.472, allocations: 1.125 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/1.472, allocations: 6.109 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.472, allocations: 2.391 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/1.472, allocations: 6.188 kB / 1.315 GB, free: 29.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.472, allocations: 1 kB / 1.315 GB, free: 29.34 MB / 1.186 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 4.984e-05/1.472, allocations: 114.2 kB / 1.315 GB, free: 29.22 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.472, allocations: 5.984 kB / 1.315 GB, free: 29.21 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/1.472, allocations: 9.391 kB / 1.315 GB, free: 29.21 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.472, allocations: 8.672 kB / 1.315 GB, free: 29.2 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.472, allocations: 0.625 kB / 1.315 GB, free: 29.2 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.472, allocations: 5.75 kB / 1.315 GB, free: 29.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/1.472, allocations: 290.8 kB / 1.315 GB, free: 28.88 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.472, allocations: 5.188 kB / 1.315 GB, free: 28.88 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/1.472, allocations: 2.359 kB / 1.315 GB, free: 28.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.472, allocations: 0 / 1.315 GB, free: 28.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/1.472, allocations: 3.75 kB / 1.315 GB, free: 28.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.472, allocations: 10.58 kB / 1.315 GB, free: 28.87 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.472, allocations: 0 / 1.315 GB, free: 28.87 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.982e-05/1.472, allocations: 62.48 kB / 1.315 GB, free: 28.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/1.472, allocations: 2.828 kB / 1.315 GB, free: 28.8 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/1.473, allocations: 1.031 kB / 1.315 GB, free: 28.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/1.473, allocations: 7.75 kB / 1.315 GB, free: 28.8 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/1.473, allocations: 0.7969 kB / 1.315 GB, free: 28.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/1.473, allocations: 1.688 kB / 1.315 GB, free: 28.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 2.724e-05/1.473, allocations: 81.38 kB / 1.315 GB, free: 28.72 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.473, allocations: 5.156 kB / 1.315 GB, free: 28.72 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001886/1.473, allocations: 10.25 kB / 1.315 GB, free: 28.71 MB / 1.186 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 7.634e-05/1.473, allocations: 96.56 kB / 1.315 GB, free: 28.63 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.149e-05/1.473, allocations: 14.64 kB / 1.315 GB, free: 28.62 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.473, allocations: 0 / 1.315 GB, free: 28.62 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/1.473, allocations: 2.25 kB / 1.315 GB, free: 28.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/1.473, allocations: 12.14 kB / 1.315 GB, free: 28.62 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/1.473, allocations: 114 kB / 1.316 GB, free: 28.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.449e-05/1.474, allocations: 61.7 kB / 1.316 GB, free: 28.44 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.356e-05/1.474, allocations: 4.656 kB / 1.316 GB, free: 28.44 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/1.474, allocations: 10.41 kB / 1.316 GB, free: 28.43 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/1.474, allocations: 0 / 1.316 GB, free: 28.43 MB / 1.186 GB Notification: Performance of Templates: time 0.003215/1.477, allocations: 0.534 MB / 1.316 GB, free: 28.38 MB / 1.186 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.938268937170506]