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.001823/0.001823, 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.002275/0.002275, allocations: 210.7 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.777 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.816/2.816, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002051/0.002051, allocations: 65.95 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006238/0.3711, allocations: 3.613 MB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.3713, allocations: 147.6 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.3713, allocations: 7.938 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.3714, allocations: 3.938 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.3715, allocations: 11.92 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.3719, allocations: 86.19 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.372, allocations: 35.84 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.372, allocations: 4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.3721, allocations: 23.91 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.3722, allocations: 11.98 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3722, allocations: 0 / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.3728, allocations: 215.2 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.3728, allocations: 4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.3729, allocations: 15.92 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.373, allocations: 53.61 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.373, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.265e-06/0.373, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.373, allocations: 4 kB / 1.287 GB, free: 8.223 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.0004733/0.3735, allocations: 268.1 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3735, allocations: 8.031 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.3736, allocations: 30.75 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3736, allocations: 4.938 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3738, allocations: 118.5 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.3738, allocations: 55.97 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3739, allocations: 4.125 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.374, allocations: 67.33 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.374, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.374, allocations: 4 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3741, allocations: 4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.3741, allocations: 15.98 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.3745, allocations: 224 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.827e-05/0.3746, allocations: 22.52 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.3746, allocations: 4.859 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.3747, allocations: 12.05 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3747, allocations: 34.56 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3747, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.3749, allocations: 33.7 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3749, allocations: 55.53 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.375, allocations: 105.8 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.375, allocations: 25.7 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.3751, allocations: 96.02 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.3751, allocations: 0 / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3751, allocations: 21.7 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3753, allocations: 318.7 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.3753, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.3753, allocations: 21.72 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.3753, allocations: 21.72 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3753, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.083e-05/0.3754, allocations: 49.62 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3754, allocations: 6.5 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3754, allocations: 4 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3755, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.3755, allocations: 7.938 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3755, allocations: 0 / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3755, allocations: 7.953 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3755, allocations: 4 kB / 1.288 GB, free: 6.379 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.74e-05/0.3756, allocations: 125.8 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3757, allocations: 0 / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.3758, allocations: 124.9 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.3758, allocations: 176.3 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-05/0.3759, allocations: 188.2 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.622e-05/0.376, allocations: 180.3 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3763, allocations: 380.2 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/0.3763, allocations: 105 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.3763, allocations: 101 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.3764, allocations: 192.2 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.3765, allocations: 176.3 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.53e-05/0.3766, allocations: 180.2 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.992e-05/0.3767, allocations: 180.5 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3768, allocations: 311.7 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.3769, allocations: 109 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/0.377, allocations: 180.2 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3771, allocations: 113 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.3772, allocations: 176.3 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.3773, allocations: 108.9 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.3773, allocations: 87.27 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3773, allocations: 4 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000239/0.3775, allocations: 15.94 kB / 1.291 GB, free: 3.039 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.0005325/0.3781, allocations: 0.8243 MB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.075e-05/0.3782, allocations: 11.94 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3782, allocations: 0 / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3782, allocations: 0 / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3787, allocations: 465.7 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.3799, allocations: 1.34 MB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.3799, allocations: 55.36 kB / 1.294 GB, free: 220 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.38, allocations: 9.859 kB / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.38, allocations: 11.44 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.38, allocations: 0 / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.4108, allocations: 2.025 MB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 9.156 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.767554615158588]