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.001721/0.001721, allocations: 113.9 kB / 17.61 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.002163/0.002163, allocations: 185.9 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.527/1.527, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] 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.987/2.987, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.002016/0.002016, allocations: 67.89 kB / 1.136 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 173.7 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2356/1.438, allocations: 148.3 MB / 1.45 GB, free: 5.555 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001928/1.438, allocations: 46.28 kB / 1.45 GB, free: 5.527 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/1.438, allocations: 0 / 1.45 GB, free: 5.527 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/1.438, allocations: 6.375 kB / 1.45 GB, free: 5.523 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/1.438, allocations: 12.39 kB / 1.45 GB, free: 5.516 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/1.439, allocations: 115 kB / 1.45 GB, free: 5.457 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/1.439, allocations: 37.11 kB / 1.45 GB, free: 5.441 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/1.439, allocations: 2.469 kB / 1.45 GB, free: 5.441 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/1.439, allocations: 12.2 kB / 1.45 GB, free: 5.441 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/1.44, allocations: 17.8 kB / 1.45 GB, free: 5.434 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/1.44, allocations: 1.312 kB / 1.45 GB, free: 5.434 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/1.44, allocations: 95.78 kB / 1.451 GB, free: 5.391 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/1.44, allocations: 6.219 kB / 1.451 GB, free: 5.391 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/1.44, allocations: 11.39 kB / 1.451 GB, free: 5.387 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/1.44, allocations: 77.92 kB / 1.451 GB, free: 5.367 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.44, allocations: 1.25 kB / 1.451 GB, free: 5.367 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.753e-06/1.44, allocations: 0 / 1.451 GB, free: 5.367 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.211e-06/1.44, allocations: 0 / 1.451 GB, free: 5.367 MB / 1.139 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.0005666/1.441, allocations: 333.9 kB / 1.451 GB, free: 5.012 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.441, allocations: 9.5 kB / 1.451 GB, free: 5.012 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/1.441, allocations: 21.78 kB / 1.451 GB, free: 5.008 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/1.441, allocations: 171.1 kB / 1.451 GB, free: 4.805 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/1.442, allocations: 30.86 kB / 1.451 GB, free: 4.77 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.442, allocations: 1.406 kB / 1.451 GB, free: 4.77 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/1.442, allocations: 46.55 kB / 1.451 GB, free: 4.734 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.442, allocations: 0 / 1.451 GB, free: 4.734 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/1.442, allocations: 1.25 kB / 1.451 GB, free: 4.734 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/1.442, allocations: 7.141 kB / 1.451 GB, free: 4.73 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/1.442, allocations: 22.2 kB / 1.451 GB, free: 4.723 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/1.442, allocations: 260.2 kB / 1.452 GB, free: 4.445 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/1.442, allocations: 20.55 kB / 1.452 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/1.443, allocations: 14 kB / 1.452 GB, free: 4.402 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/1.443, allocations: 0.7031 kB / 1.452 GB, free: 4.402 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.443, allocations: 35.62 kB / 1.452 GB, free: 4.359 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/1.443, allocations: 0 / 1.452 GB, free: 4.359 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001812/1.443, allocations: 33.11 kB / 1.452 GB, free: 4.328 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/1.443, allocations: 64.53 kB / 1.452 GB, free: 4.254 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.443, allocations: 104.4 kB / 1.452 GB, free: 4.152 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/1.443, allocations: 25.7 kB / 1.452 GB, free: 4.121 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/1.443, allocations: 99.84 kB / 1.452 GB, free: 4.023 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-06/1.443, allocations: 4.688 kB / 1.452 GB, free: 4.02 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/1.443, allocations: 14.8 kB / 1.452 GB, free: 4.004 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.443, allocations: 316.4 kB / 1.452 GB, free: 3.688 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/1.443, allocations: 3.797 kB / 1.452 GB, free: 3.688 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/1.443, allocations: 21.42 kB / 1.452 GB, free: 3.664 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/1.443, allocations: 40.55 kB / 1.452 GB, free: 3.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.443, allocations: 0 / 1.452 GB, free: 3.625 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/1.443, allocations: 61.25 kB / 1.452 GB, free: 3.578 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.444, allocations: 8.375 kB / 1.452 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.444, allocations: 0 / 1.452 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.444, allocations: 1.406 kB / 1.452 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/1.444, allocations: 7.094 kB / 1.452 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/1.444, allocations: 4.594 kB / 1.452 GB, free: 3.574 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/1.444, allocations: 6.812 kB / 1.452 GB, free: 3.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/1.444, allocations: 1.25 kB / 1.452 GB, free: 3.57 MB / 1.139 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.0001061/1.444, allocations: 109.4 kB / 1.452 GB, free: 3.457 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/1.444, allocations: 1.344 kB / 1.452 GB, free: 3.457 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/1.444, allocations: 9.047 kB / 1.452 GB, free: 3.449 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.444, allocations: 1.375 kB / 1.453 GB, free: 3.449 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.444, allocations: 3.938 kB / 1.453 GB, free: 3.445 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.444, allocations: 0.7969 kB / 1.453 GB, free: 3.445 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/1.444, allocations: 348.8 kB / 1.453 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.444, allocations: 0 / 1.453 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/1.444, allocations: 2.594 kB / 1.453 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.444, allocations: 8.672 kB / 1.453 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/1.444, allocations: 0 / 1.453 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.444, allocations: 1.219 kB / 1.453 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.444, allocations: 256 / 1.453 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/1.444, allocations: 69.5 kB / 1.453 GB, free: 2.973 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/1.444, allocations: 82.7 kB / 1.453 GB, free: 2.875 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/1.444, allocations: 5.797 kB / 1.453 GB, free: 2.871 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/1.445, allocations: 3.812 kB / 1.453 GB, free: 2.871 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/1.445, allocations: 0.7969 kB / 1.453 GB, free: 2.871 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/1.445, allocations: 0.9688 kB / 1.453 GB, free: 2.871 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.548e-05/1.445, allocations: 82.83 kB / 1.453 GB, free: 2.797 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/1.445, allocations: 0 / 1.453 GB, free: 2.797 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002384/1.445, allocations: 9.562 kB / 1.453 GB, free: 2.793 MB / 1.139 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.0001285/1.445, allocations: 101.7 kB / 1.453 GB, free: 2.703 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001161/1.445, allocations: 18.56 kB / 1.453 GB, free: 2.695 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.445, allocations: 0 / 1.453 GB, free: 2.695 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/1.445, allocations: 2.219 kB / 1.453 GB, free: 2.695 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/1.445, allocations: 10.8 kB / 1.453 GB, free: 2.691 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/1.446, allocations: 118.1 kB / 1.453 GB, free: 2.578 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/1.446, allocations: 0.675 MB / 1.454 GB, free: 1.883 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.836e-05/1.446, allocations: 6.609 kB / 1.454 GB, free: 1.883 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/1.446, allocations: 8.562 kB / 1.454 GB, free: 1.875 MB / 1.139 GB Notification: Performance of SimCode: time 1.092e-06/1.446, allocations: 0 / 1.454 GB, free: 1.875 MB / 1.139 GB Notification: Performance of Templates: time 0.003533/1.45, allocations: 0.5169 MB / 1.455 GB, free: 1.824 MB / 1.139 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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: 10.20400833338499]