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.001778/0.001778, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001464/0.001464, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.98 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.801/2.801, allocations: 476.8 MB / 0.7707 GB, free: 4.258 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.002042/0.002042, allocations: 64.34 kB / 1.117 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 169.9 MB / 1.283 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1957/0.5759, allocations: 151.6 MB / 1.431 GB, free: 11.6 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.5761, allocations: 55.84 kB / 1.431 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.5761, allocations: 0 / 1.431 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.5762, allocations: 3.938 kB / 1.431 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.5763, allocations: 11.92 kB / 1.431 GB, free: 11.53 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.5771, allocations: 224.3 kB / 1.432 GB, free: 11.31 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.5772, allocations: 35.86 kB / 1.432 GB, free: 11.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.5773, allocations: 3.938 kB / 1.432 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.5773, allocations: 15.98 kB / 1.432 GB, free: 11.26 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.842e-05/0.5774, allocations: 11.98 kB / 1.432 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.5774, allocations: 0 / 1.432 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.5778, allocations: 223.3 kB / 1.432 GB, free: 11.03 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.5779, allocations: 11.94 kB / 1.432 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.5779, allocations: 7.984 kB / 1.432 GB, free: 11.01 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.5782, allocations: 119.9 kB / 1.432 GB, free: 10.89 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5782, allocations: 0 / 1.432 GB, free: 10.89 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5782, allocations: 4 kB / 1.432 GB, free: 10.89 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5782, allocations: 0 / 1.432 GB, free: 10.89 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.0004038/0.5786, allocations: 264.1 kB / 1.432 GB, free: 10.6 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5786, allocations: 15.97 kB / 1.432 GB, free: 10.59 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.5787, allocations: 30.75 kB / 1.432 GB, free: 10.55 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.579, allocations: 24.91 kB / 1.432 GB, free: 10.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.5791, allocations: 118.3 kB / 1.433 GB, free: 10.38 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.5792, allocations: 59.39 kB / 1.433 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.5792, allocations: 0 / 1.433 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5793, allocations: 45.69 kB / 1.433 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5793, allocations: 0 / 1.433 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.5793, allocations: 0 / 1.433 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.5794, allocations: 7.938 kB / 1.433 GB, free: 10.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.5794, allocations: 23.92 kB / 1.433 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.5798, allocations: 232 kB / 1.433 GB, free: 9.961 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.5798, allocations: 18.58 kB / 1.433 GB, free: 9.934 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.5799, allocations: 16.92 kB / 1.433 GB, free: 9.914 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.58, allocations: 19.91 kB / 1.433 GB, free: 9.895 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.58, allocations: 34.56 kB / 1.433 GB, free: 9.852 MB / 1.139 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.58, allocations: 4 kB / 1.433 GB, free: 9.848 MB / 1.139 GB Notification: Performance of matching and sorting (n=2): time 0.0002472/0.5803, allocations: 53.58 kB / 1.433 GB, free: 9.789 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.5803, allocations: 55.34 kB / 1.433 GB, free: 9.723 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.5804, allocations: 105.8 kB / 1.433 GB, free: 9.609 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.5804, allocations: 25.7 kB / 1.433 GB, free: 9.578 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.5805, allocations: 84.09 kB / 1.433 GB, free: 9.492 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.5805, allocations: 20.02 kB / 1.433 GB, free: 9.473 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.5805, allocations: 13.7 kB / 1.433 GB, free: 9.453 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5807, allocations: 318.8 kB / 1.434 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.5807, allocations: 0 / 1.434 GB, free: 9.133 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.5807, allocations: 26.56 kB / 1.434 GB, free: 9.098 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.5808, allocations: 34.52 kB / 1.434 GB, free: 9.055 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5808, allocations: 0 / 1.434 GB, free: 9.055 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.342e-05/0.5809, allocations: 53.62 kB / 1.434 GB, free: 8.996 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5809, allocations: 4 kB / 1.434 GB, free: 8.992 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5809, allocations: 4 kB / 1.434 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5809, allocations: 0 / 1.434 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.581, allocations: 4 kB / 1.434 GB, free: 8.984 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.581, allocations: 7.938 kB / 1.434 GB, free: 8.977 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.581, allocations: 8.094 kB / 1.434 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.581, allocations: 0 / 1.434 GB, free: 8.969 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 9.607e-05/0.5811, allocations: 117.8 kB / 1.434 GB, free: 8.844 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.5811, allocations: 3.953 kB / 1.434 GB, free: 8.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.5812, allocations: 11.31 kB / 1.434 GB, free: 8.828 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5812, allocations: 0 / 1.434 GB, free: 8.828 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5812, allocations: 3.938 kB / 1.434 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5812, allocations: 0 / 1.434 GB, free: 8.824 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.5815, allocations: 330.7 kB / 1.434 GB, free: 8.445 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5815, allocations: 11.94 kB / 1.434 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.5815, allocations: 3.938 kB / 1.434 GB, free: 8.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.5815, allocations: 4.281 kB / 1.434 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.5815, allocations: 4 kB / 1.434 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5815, allocations: 0 / 1.434 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5815, allocations: 3.984 kB / 1.434 GB, free: 8.418 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.5816, allocations: 74.05 kB / 1.434 GB, free: 8.324 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.5816, allocations: 7.922 kB / 1.434 GB, free: 8.316 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5817, allocations: 0 / 1.434 GB, free: 8.316 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.5817, allocations: 4 kB / 1.434 GB, free: 8.312 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.5818, allocations: 7.922 kB / 1.434 GB, free: 8.305 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.5818, allocations: 4 kB / 1.434 GB, free: 8.301 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.5818, allocations: 87.22 kB / 1.434 GB, free: 8.215 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5818, allocations: 4.031 kB / 1.434 GB, free: 8.211 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001892/0.582, allocations: 4 kB / 1.434 GB, free: 8.207 MB / 1.139 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.0004537/0.5825, allocations: 0.6094 MB / 1.435 GB, free: 7.566 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.5825, allocations: 15.94 kB / 1.435 GB, free: 7.551 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5825, allocations: 4 kB / 1.435 GB, free: 7.547 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.5826, allocations: 3.984 kB / 1.435 GB, free: 7.543 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.5828, allocations: 10.03 kB / 1.435 GB, free: 7.535 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.5833, allocations: 157.6 kB / 1.435 GB, free: 7.34 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5836, allocations: 0.6806 MB / 1.436 GB, free: 6.633 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.753e-05/0.5836, allocations: 4 kB / 1.436 GB, free: 6.629 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.5837, allocations: 11.42 kB / 1.436 GB, free: 6.617 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/0.5837, allocations: 0 / 1.436 GB, free: 6.617 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03682/0.6205, allocations: 1.577 MB / 1.437 GB, free: 5.172 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.26, allocations: 14.14 kB / 1.437 GB, free: 5.164 MB / 1.139 GB " [Timeout remaining time 289] (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: 17.95835294599965]