Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001301/0.001301, 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.001434/0.001434, allocations: 213.4 kB / 22.25 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.738 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 2.988/2.988, allocations: 0.5107 GB / 0.8158 GB, free: 17.73 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.002005/0.002005, allocations: 67.48 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1627/0.4904, allocations: 130.3 MB / 1.491 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.4905, allocations: 51.86 kB / 1.491 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.4905, allocations: 0 / 1.491 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.4906, allocations: 4 kB / 1.491 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.4907, allocations: 15.92 kB / 1.491 GB, free: 11.11 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.4915, allocations: 205.8 kB / 1.491 GB, free: 10.91 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.4915, allocations: 39.84 kB / 1.491 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.4916, allocations: 0 / 1.491 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.4916, allocations: 23.92 kB / 1.491 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.4917, allocations: 15.91 kB / 1.491 GB, free: 10.83 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4917, allocations: 0 / 1.491 GB, free: 10.83 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.4921, allocations: 155.5 kB / 1.491 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.4921, allocations: 11.98 kB / 1.491 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.4921, allocations: 7.938 kB / 1.491 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.4924, allocations: 119.9 kB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4924, allocations: 0 / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4924, allocations: 0 / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4924, allocations: 0 / 1.491 GB, free: 10.54 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.0003725/0.4927, allocations: 266.3 kB / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4928, allocations: 8.031 kB / 1.492 GB, free: 10.24 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.4928, allocations: 38.73 kB / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.4931, allocations: 28.86 kB / 1.492 GB, free: 10.17 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4932, allocations: 110.3 kB / 1.492 GB, free: 10.04 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.4933, allocations: 55.39 kB / 1.492 GB, free: 9.969 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4933, allocations: 4 kB / 1.492 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.4934, allocations: 75.33 kB / 1.492 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4934, allocations: 0 / 1.492 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4934, allocations: 4 kB / 1.492 GB, free: 9.875 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.4935, allocations: 0 / 1.492 GB, free: 9.875 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.4935, allocations: 23.98 kB / 1.492 GB, free: 9.852 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.4939, allocations: 224 kB / 1.492 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 6.112e-05/0.4939, allocations: 30.55 kB / 1.492 GB, free: 9.551 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.4939, allocations: 12.92 kB / 1.492 GB, free: 9.535 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.4941, allocations: 11.98 kB / 1.492 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4941, allocations: 42.56 kB / 1.492 GB, free: 9.473 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4941, allocations: 0 / 1.492 GB, free: 9.473 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0002206/0.4943, allocations: 41.69 kB / 1.492 GB, free: 9.426 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.4944, allocations: 55.34 kB / 1.492 GB, free: 9.359 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.4944, allocations: 105.8 kB / 1.492 GB, free: 9.246 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4945, allocations: 25.7 kB / 1.492 GB, free: 9.215 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.4945, allocations: 92.09 kB / 1.492 GB, free: 9.121 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.4945, allocations: 11.83 kB / 1.492 GB, free: 9.109 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.4946, allocations: 17.66 kB / 1.493 GB, free: 9.086 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4947, allocations: 322.9 kB / 1.493 GB, free: 8.762 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.4947, allocations: 7.984 kB / 1.493 GB, free: 8.754 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.4947, allocations: 22.58 kB / 1.493 GB, free: 8.723 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.4948, allocations: 30.58 kB / 1.493 GB, free: 8.684 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4948, allocations: 0 / 1.493 GB, free: 8.684 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.472e-05/0.4949, allocations: 61.52 kB / 1.493 GB, free: 8.617 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4949, allocations: 4 kB / 1.493 GB, free: 8.613 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4949, allocations: 4.094 kB / 1.493 GB, free: 8.609 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4949, allocations: 4 kB / 1.493 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.4949, allocations: 7.984 kB / 1.493 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4949, allocations: 3.938 kB / 1.493 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.495, allocations: 8 kB / 1.493 GB, free: 8.586 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.495, allocations: 0 / 1.493 GB, free: 8.586 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 7.495e-05/0.495, allocations: 110.5 kB / 1.493 GB, free: 8.469 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4951, allocations: 0 / 1.493 GB, free: 8.469 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.4951, allocations: 7.312 kB / 1.493 GB, free: 8.461 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4951, allocations: 4 kB / 1.493 GB, free: 8.457 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4951, allocations: 7.938 kB / 1.493 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.4951, allocations: 0 / 1.493 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4954, allocations: 338.6 kB / 1.493 GB, free: 8.062 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4954, allocations: 4 kB / 1.493 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.4954, allocations: 4.219 kB / 1.493 GB, free: 8.055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4954, allocations: 4 kB / 1.493 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.4954, allocations: 0 / 1.493 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4954, allocations: 0 / 1.493 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4954, allocations: 0 / 1.493 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.4955, allocations: 81.97 kB / 1.493 GB, free: 7.949 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.4955, allocations: 3.938 kB / 1.494 GB, free: 7.945 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4955, allocations: 4 kB / 1.494 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.4956, allocations: 3.984 kB / 1.494 GB, free: 7.938 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.4956, allocations: 4 kB / 1.494 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.4956, allocations: 0 / 1.494 GB, free: 7.934 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.4957, allocations: 83.28 kB / 1.494 GB, free: 7.852 MB / 1.186 GB Notification: Performance of sort global known variables: time 5e-08/0.4957, allocations: 0 / 1.494 GB, free: 7.852 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001879/0.4959, allocations: 8 kB / 1.494 GB, free: 7.844 MB / 1.186 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.0004202/0.4963, allocations: 0.6133 MB / 1.494 GB, free: 7.199 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.915e-05/0.4964, allocations: 19.86 kB / 1.494 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4964, allocations: 0 / 1.494 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.4964, allocations: 8 kB / 1.494 GB, free: 7.172 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.4966, allocations: 10.44 kB / 1.494 GB, free: 7.164 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.497, allocations: 145.7 kB / 1.494 GB, free: 6.977 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.816e-05/0.4971, allocations: 67.28 kB / 1.494 GB, free: 6.891 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.4971, allocations: 7.984 kB / 1.494 GB, free: 6.883 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.4972, allocations: 11.38 kB / 1.494 GB, free: 6.871 MB / 1.186 GB Notification: Performance of SimCode: time 4.61e-07/0.4972, allocations: 0 / 1.494 GB, free: 6.871 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.5247, allocations: 2.008 MB / 1.496 GB, free: 4.992 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.83, allocations: 2.875 kB / 1.496 GB, free: 4.992 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.065085103269666]