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.00133/0.00133, 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.001513/0.001513, allocations: 207.6 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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 2.998/2.998, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [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.001971/0.001971, allocations: 63 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3123, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.157/0.4693, allocations: 129.9 MB / 1.49 GB, free: 11.65 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.4695, allocations: 63.67 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.4695, allocations: 0 / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.4696, allocations: 4 kB / 1.49 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.4697, allocations: 11.91 kB / 1.49 GB, free: 11.58 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.4702, allocations: 110.2 kB / 1.49 GB, free: 11.47 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.4703, allocations: 35.91 kB / 1.49 GB, free: 11.44 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.4703, allocations: 4 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.4703, allocations: 15.92 kB / 1.491 GB, free: 11.42 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.4704, allocations: 19.86 kB / 1.491 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.4704, allocations: 0 / 1.491 GB, free: 11.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.4707, allocations: 71.73 kB / 1.491 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.4707, allocations: 11.98 kB / 1.491 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.4707, allocations: 15.92 kB / 1.491 GB, free: 11.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.4709, allocations: 64.14 kB / 1.491 GB, free: 11.24 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4709, allocations: 0 / 1.491 GB, free: 11.24 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4709, allocations: 0 / 1.491 GB, free: 11.24 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.4709, allocations: 0 / 1.491 GB, free: 11.24 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.0004161/0.4713, allocations: 266.3 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4714, allocations: 15.97 kB / 1.491 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.4714, allocations: 34.73 kB / 1.491 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.4717, allocations: 20.88 kB / 1.491 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.4718, allocations: 106.3 kB / 1.491 GB, free: 10.74 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.4719, allocations: 55.41 kB / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.4719, allocations: 3.938 kB / 1.491 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.472, allocations: 79.38 kB / 1.491 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4721, allocations: 0 / 1.491 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4721, allocations: 0 / 1.491 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.4721, allocations: 4 kB / 1.491 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.4721, allocations: 15.98 kB / 1.491 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.4726, allocations: 228 kB / 1.491 GB, free: 10.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.4727, allocations: 26.52 kB / 1.492 GB, free: 10.26 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.4727, allocations: 4.859 kB / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.4727, allocations: 0 / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4727, allocations: 38.62 kB / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.4727, allocations: 0 / 1.492 GB, free: 10.21 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.4729, allocations: 37.67 kB / 1.492 GB, free: 10.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4729, allocations: 55.34 kB / 1.492 GB, free: 10.1 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.473, allocations: 113.7 kB / 1.492 GB, free: 9.977 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4731, allocations: 25.7 kB / 1.492 GB, free: 9.945 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.4731, allocations: 96.03 kB / 1.492 GB, free: 9.848 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.4731, allocations: 3.953 kB / 1.492 GB, free: 9.844 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.4732, allocations: 17.72 kB / 1.492 GB, free: 9.82 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4733, allocations: 310.8 kB / 1.492 GB, free: 9.508 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.4734, allocations: 12.11 kB / 1.492 GB, free: 9.496 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.4734, allocations: 26.58 kB / 1.492 GB, free: 9.461 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.015e-05/0.4734, allocations: 30.52 kB / 1.492 GB, free: 9.422 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4735, allocations: 0 / 1.492 GB, free: 9.422 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.4736, allocations: 53.62 kB / 1.492 GB, free: 9.363 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4736, allocations: 4 kB / 1.492 GB, free: 9.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4736, allocations: 3.938 kB / 1.492 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4736, allocations: 8.094 kB / 1.492 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.4737, allocations: 11.92 kB / 1.492 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4737, allocations: 3.938 kB / 1.492 GB, free: 9.332 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.4737, allocations: 4.25 kB / 1.492 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.4737, allocations: 0 / 1.492 GB, free: 9.328 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 8.332e-05/0.4738, allocations: 110.9 kB / 1.492 GB, free: 9.211 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.4738, allocations: 7.953 kB / 1.492 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.4738, allocations: 11.16 kB / 1.492 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4739, allocations: 3.938 kB / 1.492 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4739, allocations: 0 / 1.492 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4739, allocations: 7.984 kB / 1.492 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.4741, allocations: 313.8 kB / 1.493 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4741, allocations: 0 / 1.493 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.4742, allocations: 7.938 kB / 1.493 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4742, allocations: 0 / 1.493 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4742, allocations: 0 / 1.493 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4742, allocations: 0 / 1.493 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4742, allocations: 0 / 1.493 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.978e-05/0.4743, allocations: 57.14 kB / 1.493 GB, free: 8.738 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.4743, allocations: 7.922 kB / 1.493 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.4743, allocations: 12 kB / 1.493 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.4744, allocations: 0 / 1.493 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.4744, allocations: 0 / 1.493 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4744, allocations: 4 kB / 1.493 GB, free: 8.715 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.4744, allocations: 87.27 kB / 1.493 GB, free: 8.629 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.4744, allocations: 0 / 1.493 GB, free: 8.629 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001868/0.4746, allocations: 8 kB / 1.493 GB, free: 8.621 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.0003937/0.475, allocations: 0.5968 MB / 1.494 GB, free: 7.996 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.4751, allocations: 15.97 kB / 1.494 GB, free: 7.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4751, allocations: 0 / 1.494 GB, free: 7.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.4751, allocations: 0 / 1.494 GB, free: 7.98 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.4754, allocations: 8 kB / 1.494 GB, free: 7.973 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.4758, allocations: 140.4 kB / 1.494 GB, free: 7.797 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.889e-05/0.4758, allocations: 59.3 kB / 1.494 GB, free: 7.719 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.4759, allocations: 12.23 kB / 1.494 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.4759, allocations: 11.44 kB / 1.494 GB, free: 7.695 MB / 1.186 GB Notification: Performance of SimCode: time 6.21e-07/0.4759, allocations: 3.938 kB / 1.494 GB, free: 7.691 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.5048, allocations: 1.903 MB / 1.496 GB, free: 5.949 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.94, allocations: 2.438 kB / 1.496 GB, free: 5.949 MB / 1.186 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/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: 17.112083080224693]