Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001443/0.001443, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001519/0.001519, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.988 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.782/2.782, allocations: 476.7 MB / 0.7707 GB, free: 4.215 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002034/0.002034, allocations: 67.2 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006302/0.3957, allocations: 3.833 MB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.396, allocations: 155.5 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.396, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3961, allocations: 7.922 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.3962, allocations: 7.922 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.3965, allocations: 94.61 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.3966, allocations: 39.78 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.3967, allocations: 3.938 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.3967, allocations: 15.98 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.3968, allocations: 11.98 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3968, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006495/0.3975, allocations: 242.7 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.3975, allocations: 15.92 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.3975, allocations: 8 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3977, allocations: 67.78 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3977, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3977, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3977, allocations: 0 / 1.288 GB, free: 7.199 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.0004093/0.3981, allocations: 258.3 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3982, allocations: 12.03 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.3982, allocations: 34.73 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3982, allocations: 0.9375 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3984, allocations: 110.5 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.3984, allocations: 51.97 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3985, allocations: 12.11 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3986, allocations: 45.62 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3986, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3986, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.3986, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.3987, allocations: 15.98 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.3991, allocations: 232 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.3992, allocations: 22.52 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.3992, allocations: 4.859 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.3992, allocations: 8.062 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3993, allocations: 34.55 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3993, allocations: 0 / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.3994, allocations: 41.66 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3995, allocations: 55.41 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.3996, allocations: 97.84 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3996, allocations: 29.64 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.3996, allocations: 96.03 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/0.3996, allocations: 0 / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.3997, allocations: 13.72 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3998, allocations: 322.9 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.3998, allocations: 8 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.3999, allocations: 13.72 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.3999, allocations: 17.72 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3999, allocations: 3.984 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.567e-05/0.4, allocations: 53.58 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4, allocations: 8.062 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.4, allocations: 11.98 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4001, allocations: 0 / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.4001, allocations: 3.953 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.4001, allocations: 4 kB / 1.289 GB, free: 5.395 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 9.034e-05/0.4002, allocations: 113.7 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4002, allocations: 0 / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4003, allocations: 133 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.65e-05/0.4004, allocations: 176.3 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.543e-05/0.4005, allocations: 184.2 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.292e-05/0.4006, allocations: 176.3 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.4008, allocations: 388.2 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/0.4009, allocations: 105 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.4009, allocations: 105 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.418e-05/0.401, allocations: 192.2 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.4011, allocations: 180.3 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.217e-05/0.4012, allocations: 180.2 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.751e-05/0.4012, allocations: 176.3 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.4015, allocations: 315.7 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.4015, allocations: 105.3 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/0.4016, allocations: 180.2 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4018, allocations: 109 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.4019, allocations: 188.2 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.4019, allocations: 101 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.2e-05/0.402, allocations: 91.27 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.402, allocations: 3.938 kB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000287/0.4023, allocations: 19.88 kB / 1.292 GB, free: 2.047 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.0005095/0.4028, allocations: 0.8243 MB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.4029, allocations: 7.984 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.4029, allocations: 0 / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4029, allocations: 0 / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.4033, allocations: 465.7 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.4046, allocations: 1.332 MB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4049, allocations: 0.6767 MB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.405, allocations: 4 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.405, allocations: 15.42 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.405, allocations: 0 / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.4327, allocations: 1.599 MB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.11, allocations: 4.062 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.934962893001284]