Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001872/0.001872, 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.003138/0.003138, 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.0022/0.0022, allocations: 68.12 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3156, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1745/0.4901, allocations: 130.3 MB / 1.41 GB, free: 9.609 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.4902, allocations: 43.88 kB / 1.41 GB, free: 9.566 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.4903, allocations: 0 / 1.41 GB, free: 9.566 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.4904, allocations: 3.938 kB / 1.41 GB, free: 9.562 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.4905, allocations: 19.91 kB / 1.41 GB, free: 9.543 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.4914, allocations: 206.8 kB / 1.41 GB, free: 9.344 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4915, allocations: 39.84 kB / 1.41 GB, free: 9.305 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.4915, allocations: 0 / 1.41 GB, free: 9.305 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.4916, allocations: 23.97 kB / 1.41 GB, free: 9.281 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.4916, allocations: 11.92 kB / 1.41 GB, free: 9.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.4916, allocations: 0 / 1.41 GB, free: 9.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.4921, allocations: 159.5 kB / 1.41 GB, free: 9.113 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.4921, allocations: 19.91 kB / 1.41 GB, free: 9.094 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.4922, allocations: 4 kB / 1.41 GB, free: 9.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.4925, allocations: 109.4 kB / 1.41 GB, free: 8.984 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4925, allocations: 0 / 1.41 GB, free: 8.984 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4925, allocations: 0 / 1.41 GB, free: 8.984 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4925, allocations: 0 / 1.41 GB, free: 8.984 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.0004595/0.4929, allocations: 266.2 kB / 1.411 GB, free: 8.695 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.493, allocations: 8.031 kB / 1.411 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.493, allocations: 38.75 kB / 1.411 GB, free: 8.641 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.4934, allocations: 24.91 kB / 1.411 GB, free: 8.617 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4935, allocations: 114.3 kB / 1.411 GB, free: 8.48 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.4936, allocations: 51.41 kB / 1.411 GB, free: 8.418 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.4936, allocations: 7.938 kB / 1.411 GB, free: 8.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4937, allocations: 75.38 kB / 1.411 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4938, allocations: 0 / 1.411 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4938, allocations: 0 / 1.411 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.4938, allocations: 0 / 1.411 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.253e-05/0.4938, allocations: 23.98 kB / 1.411 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.4943, allocations: 232 kB / 1.411 GB, free: 8.031 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 6.972e-05/0.4943, allocations: 26.5 kB / 1.411 GB, free: 7.996 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.4943, allocations: 12.86 kB / 1.411 GB, free: 7.98 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.4945, allocations: 15.98 kB / 1.411 GB, free: 7.965 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.4945, allocations: 38.56 kB / 1.411 GB, free: 7.918 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4945, allocations: 0 / 1.411 GB, free: 7.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0002666/0.4948, allocations: 49.73 kB / 1.411 GB, free: 7.863 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4948, allocations: 59.38 kB / 1.411 GB, free: 7.793 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.4949, allocations: 105.8 kB / 1.412 GB, free: 7.68 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.495, allocations: 25.7 kB / 1.412 GB, free: 7.648 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.495, allocations: 92.08 kB / 1.412 GB, free: 7.555 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.495, allocations: 7.891 kB / 1.412 GB, free: 7.547 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.4951, allocations: 17.72 kB / 1.412 GB, free: 7.523 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4952, allocations: 310.8 kB / 1.412 GB, free: 7.211 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.4952, allocations: 4 kB / 1.412 GB, free: 7.207 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.4953, allocations: 26.56 kB / 1.412 GB, free: 7.172 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.4953, allocations: 42.45 kB / 1.412 GB, free: 7.121 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4953, allocations: 0 / 1.412 GB, free: 7.121 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.496e-05/0.4954, allocations: 53.62 kB / 1.412 GB, free: 7.062 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4955, allocations: 4 kB / 1.412 GB, free: 7.059 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4955, allocations: 0 / 1.412 GB, free: 7.059 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4955, allocations: 4 kB / 1.412 GB, free: 7.055 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.4955, allocations: 7.984 kB / 1.412 GB, free: 7.047 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4955, allocations: 3.938 kB / 1.412 GB, free: 7.043 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.4956, allocations: 8.375 kB / 1.412 GB, free: 7.035 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4956, allocations: 0 / 1.412 GB, free: 7.035 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 9.489e-05/0.4957, allocations: 113.8 kB / 1.412 GB, free: 6.914 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.4957, allocations: 3.953 kB / 1.412 GB, free: 6.91 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.4957, allocations: 7.297 kB / 1.412 GB, free: 6.902 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4957, allocations: 4 kB / 1.412 GB, free: 6.898 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.4957, allocations: 3.938 kB / 1.412 GB, free: 6.895 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4957, allocations: 0 / 1.412 GB, free: 6.895 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.4961, allocations: 334.7 kB / 1.413 GB, free: 6.512 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4961, allocations: 4.062 kB / 1.413 GB, free: 6.508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.4961, allocations: 7.938 kB / 1.413 GB, free: 6.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4961, allocations: 4 kB / 1.413 GB, free: 6.496 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.4961, allocations: 0 / 1.413 GB, free: 6.496 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4961, allocations: 0 / 1.413 GB, free: 6.496 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4961, allocations: 3.938 kB / 1.413 GB, free: 6.492 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.4962, allocations: 73.92 kB / 1.413 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.4962, allocations: 3.938 kB / 1.413 GB, free: 6.395 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4963, allocations: 8 kB / 1.413 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.4963, allocations: 0 / 1.413 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.4964, allocations: 12.02 kB / 1.413 GB, free: 6.375 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4964, allocations: 0 / 1.413 GB, free: 6.375 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.4964, allocations: 79.28 kB / 1.413 GB, free: 6.297 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.4964, allocations: 0 / 1.413 GB, free: 6.297 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002007/0.4966, allocations: 8 kB / 1.413 GB, free: 6.289 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005445/0.4972, allocations: 0.6132 MB / 1.413 GB, free: 5.645 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.4973, allocations: 20.08 kB / 1.413 GB, free: 5.625 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4973, allocations: 8.062 kB / 1.413 GB, free: 5.617 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-06/0.4973, allocations: 0 / 1.413 GB, free: 5.617 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.4975, allocations: 8 kB / 1.413 GB, free: 5.609 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.498, allocations: 157.3 kB / 1.414 GB, free: 5.414 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.537e-05/0.4981, allocations: 67.22 kB / 1.414 GB, free: 5.328 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.942e-05/0.4981, allocations: 16.05 kB / 1.414 GB, free: 5.312 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.4982, allocations: 15.44 kB / 1.414 GB, free: 5.297 MB / 1.107 GB Notification: Performance of SimCode: time 4.11e-07/0.4982, allocations: 0 / 1.414 GB, free: 5.297 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.5281, allocations: 1.984 MB / 1.416 GB, free: 3.441 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.97, allocations: 7.656 kB / 1.416 GB, free: 3.438 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 18.915718807838857]