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.001316/0.001316, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001578/0.001578, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.549/3.549, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 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.002173/0.002173, allocations: 69.52 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4247, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1735/0.5982, allocations: 129.9 MB / 1.491 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.5984, allocations: 51.88 kB / 1.491 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.5984, allocations: 0 / 1.491 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.5985, allocations: 11.92 kB / 1.491 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.5986, allocations: 7.938 kB / 1.491 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.5991, allocations: 111.6 kB / 1.491 GB, free: 10.99 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.5992, allocations: 35.84 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.5992, allocations: 4 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.5993, allocations: 11.98 kB / 1.491 GB, free: 10.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.5993, allocations: 15.98 kB / 1.491 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5993, allocations: 0 / 1.491 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.5996, allocations: 79.66 kB / 1.491 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.5996, allocations: 8 kB / 1.491 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.5997, allocations: 11.98 kB / 1.491 GB, free: 10.82 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.5998, allocations: 67.73 kB / 1.491 GB, free: 10.76 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5998, allocations: 3.938 kB / 1.491 GB, free: 10.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5998, allocations: 0 / 1.491 GB, free: 10.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5998, allocations: 0 / 1.491 GB, free: 10.75 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.0004354/0.6003, allocations: 262.3 kB / 1.491 GB, free: 10.47 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6003, allocations: 12.03 kB / 1.491 GB, free: 10.46 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.6005, allocations: 20.88 kB / 1.491 GB, free: 10.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6006, allocations: 114.5 kB / 1.492 GB, free: 10.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.893e-05/0.6007, allocations: 55.34 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.6008, allocations: 4 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6009, allocations: 67.39 kB / 1.492 GB, free: 10.15 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6009, allocations: 0 / 1.492 GB, free: 10.15 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.6009, allocations: 0 / 1.492 GB, free: 10.15 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6009, allocations: 7.984 kB / 1.492 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.601, allocations: 27.92 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.6014, allocations: 204.6 kB / 1.492 GB, free: 9.887 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.6014, allocations: 18.56 kB / 1.492 GB, free: 9.859 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.6014, allocations: 4.859 kB / 1.492 GB, free: 9.852 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.6014, allocations: 4.062 kB / 1.492 GB, free: 9.848 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6015, allocations: 34.56 kB / 1.492 GB, free: 9.805 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6015, allocations: 0 / 1.492 GB, free: 9.805 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.6016, allocations: 41.67 kB / 1.492 GB, free: 9.758 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.6016, allocations: 55.41 kB / 1.492 GB, free: 9.691 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6017, allocations: 117.7 kB / 1.492 GB, free: 9.566 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.6018, allocations: 25.7 kB / 1.492 GB, free: 9.535 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.6018, allocations: 92.03 kB / 1.492 GB, free: 9.441 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.6018, allocations: 7.938 kB / 1.492 GB, free: 9.434 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.6019, allocations: 13.72 kB / 1.492 GB, free: 9.414 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.602, allocations: 318.8 kB / 1.493 GB, free: 9.094 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.602, allocations: 4 kB / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.6021, allocations: 22.56 kB / 1.493 GB, free: 9.059 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.6021, allocations: 34.55 kB / 1.493 GB, free: 9.016 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6021, allocations: 0 / 1.493 GB, free: 9.016 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.637e-05/0.6022, allocations: 53.62 kB / 1.493 GB, free: 8.957 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6022, allocations: 8 kB / 1.493 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6022, allocations: 0 / 1.493 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6022, allocations: 0 / 1.493 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.6023, allocations: 8 kB / 1.493 GB, free: 8.941 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6023, allocations: 3.984 kB / 1.493 GB, free: 8.938 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.6023, allocations: 12.03 kB / 1.493 GB, free: 8.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.6023, allocations: 4 kB / 1.493 GB, free: 8.922 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 9.55e-05/0.6024, allocations: 113.8 kB / 1.493 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6025, allocations: 11.89 kB / 1.493 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.6025, allocations: 3.156 kB / 1.493 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.6025, allocations: 0 / 1.493 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6025, allocations: 0 / 1.493 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6025, allocations: 3.938 kB / 1.493 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.6028, allocations: 298.4 kB / 1.493 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6028, allocations: 0 / 1.493 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.6028, allocations: 4.031 kB / 1.493 GB, free: 8.445 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6028, allocations: 0 / 1.493 GB, free: 8.445 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.6028, allocations: 0 / 1.493 GB, free: 8.445 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.6028, allocations: 3.938 kB / 1.493 GB, free: 8.441 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6028, allocations: 4 kB / 1.493 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.225e-05/0.6029, allocations: 57.06 kB / 1.493 GB, free: 8.363 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.6029, allocations: 8 kB / 1.493 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.6029, allocations: 7.938 kB / 1.493 GB, free: 8.348 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.603, allocations: 12.17 kB / 1.493 GB, free: 8.336 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.603, allocations: 0 / 1.493 GB, free: 8.336 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.603, allocations: 8.031 kB / 1.493 GB, free: 8.328 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.6031, allocations: 79.28 kB / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6031, allocations: 0 / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001939/0.6033, allocations: 8 kB / 1.493 GB, free: 8.242 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 0.0001019/0.6034, allocations: 99.25 kB / 1.493 GB, free: 8.137 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.193e-05/0.6034, allocations: 15.92 kB / 1.493 GB, free: 8.121 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.6035, allocations: 0 / 1.493 GB, free: 8.121 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 6.802e-06/0.6035, allocations: 4 kB / 1.493 GB, free: 8.117 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.6037, allocations: 5.375 kB / 1.493 GB, free: 8.113 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.6039, allocations: 114.7 kB / 1.494 GB, free: 7.977 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.606e-05/0.604, allocations: 63.28 kB / 1.494 GB, free: 7.895 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.604, allocations: 4.094 kB / 1.494 GB, free: 7.891 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.6041, allocations: 7.438 kB / 1.494 GB, free: 7.883 MB / 1.186 GB Notification: Performance of SimCode: time 2.7e-07/0.6041, allocations: 0 / 1.494 GB, free: 7.883 MB / 1.186 GB Notification: Performance of Templates: time 0.002746/0.6068, allocations: 0.5568 MB / 1.494 GB, free: 7.367 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.826052986085415]