Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001484/0.001484, allocations: 109.4 kB / 16.46 MB, free: 5.906 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.001475/0.001475, allocations: 213.6 kB / 19.43 MB, free: 3.602 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.809/2.809, allocations: 476.7 MB / 0.7672 GB, free: 5.23 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.002092/0.002092, allocations: 71.89 kB / 1.112 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.8727, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006386/0.8791, allocations: 4.103 MB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002239/0.8793, allocations: 155.5 kB / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.8794, allocations: 0 / 1.282 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.8795, allocations: 3.938 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.8796, allocations: 15.91 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.8799, allocations: 81 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.88, allocations: 35.86 kB / 1.283 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.88, allocations: 7.922 kB / 1.283 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.8801, allocations: 15.98 kB / 1.283 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.8802, allocations: 19.91 kB / 1.283 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.8802, allocations: 0 / 1.283 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.8804, allocations: 83.72 kB / 1.283 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.8804, allocations: 4 kB / 1.283 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.8805, allocations: 11.92 kB / 1.283 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.8806, allocations: 69.69 kB / 1.283 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8806, allocations: 7.984 kB / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8806, allocations: 0 / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8806, allocations: 0 / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004562/0.8811, allocations: 335.4 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.8811, allocations: 8.031 kB / 1.283 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.8812, allocations: 34.75 kB / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.8812, allocations: 0.9375 kB / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.8813, allocations: 160.4 kB / 1.283 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.8814, allocations: 30.27 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.8814, allocations: 8.125 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.8816, allocations: 53.59 kB / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8816, allocations: 0 / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.8816, allocations: 0 / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.8816, allocations: 4 kB / 1.283 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.011e-05/0.8817, allocations: 19.92 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.8822, allocations: 334 kB / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.8822, allocations: 22.52 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.8822, allocations: 4.859 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.902e-05/0.8823, allocations: 85.17 kB / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.8824, allocations: 30.56 kB / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.8824, allocations: 0 / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.8825, allocations: 41.69 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.8826, allocations: 55.53 kB / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.8827, allocations: 97.81 kB / 1.284 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.8827, allocations: 29.69 kB / 1.284 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.8828, allocations: 92.09 kB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-06/0.8828, allocations: 0 / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.8828, allocations: 17.66 kB / 1.284 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.883, allocations: 318.8 kB / 1.284 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.883, allocations: 7.984 kB / 1.284 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.883, allocations: 17.72 kB / 1.284 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.8831, allocations: 17.72 kB / 1.284 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8831, allocations: 0 / 1.284 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.656e-05/0.8832, allocations: 53.62 kB / 1.285 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8832, allocations: 7.938 kB / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8832, allocations: 0 / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8832, allocations: 0 / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.8833, allocations: 16.05 kB / 1.285 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8833, allocations: 0 / 1.285 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.8833, allocations: 7.891 kB / 1.285 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.8833, allocations: 4 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.612e-05/0.8834, allocations: 113.8 kB / 1.285 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.8834, allocations: 0 / 1.285 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.8835, allocations: 124.9 kB / 1.285 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-05/0.8836, allocations: 180.3 kB / 1.285 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.489e-05/0.8837, allocations: 184.2 kB / 1.285 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/0.8838, allocations: 176.3 kB / 1.285 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.8841, allocations: 417.1 kB / 1.286 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/0.8841, allocations: 101 kB / 1.286 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.8842, allocations: 105 kB / 1.286 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.8843, allocations: 188.1 kB / 1.286 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/0.8844, allocations: 184.3 kB / 1.286 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.735e-05/0.8845, allocations: 180.2 kB / 1.286 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.134e-05/0.8846, allocations: 176.3 kB / 1.287 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.8848, allocations: 315.7 kB / 1.287 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.8849, allocations: 178.1 kB / 1.287 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.8851, allocations: 184.2 kB / 1.287 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.8852, allocations: 109 kB / 1.287 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.8853, allocations: 176.5 kB / 1.288 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.8854, allocations: 108.9 kB / 1.288 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.8855, allocations: 87.27 kB / 1.288 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8855, allocations: 0 / 1.288 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002754/0.8857, allocations: 23.88 kB / 1.288 GB, free: 3.18 MB / 0.9825 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 (0): * Single equations (assignments): 0 * 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.000556/0.8863, allocations: 0.8248 MB / 1.289 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.8864, allocations: 15.92 kB / 1.289 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8864, allocations: 0 / 1.289 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.8864, allocations: 0 / 1.289 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.8869, allocations: 466 kB / 1.289 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.8881, allocations: 1.329 MB / 1.29 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8884, allocations: 0.6768 MB / 1.291 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.8885, allocations: 11.88 kB / 1.291 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.8885, allocations: 7.438 kB / 1.291 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.8885, allocations: 0 / 1.291 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.9145, allocations: 1.498 MB / 1.292 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/9.004, allocations: 8.125 kB / 1.292 GB, free: 14.31 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 15.112007424002513]