Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5851, allocations: 140.4 MB / 0.9497 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004405/0.5895, allocations: 3.724 MB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.5897, allocations: 161.6 kB / 0.9535 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.5897, allocations: 4 kB / 0.9535 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.388e-05/0.5898, allocations: 5.578 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.5899, allocations: 9.422 kB / 0.9535 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.5902, allocations: 82.97 kB / 0.9536 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.5903, allocations: 30.3 kB / 0.9536 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.5904, allocations: 5.297 kB / 0.9536 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.5904, allocations: 14.14 kB / 0.9536 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.5905, allocations: 20.58 kB / 0.9537 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.5905, allocations: 1.062 kB / 0.9537 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.5909, allocations: 188.7 kB / 0.9538 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.591, allocations: 6.578 kB / 0.9538 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.591, allocations: 3.906 kB / 0.9539 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.5911, allocations: 44.86 kB / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5912, allocations: 1.469 kB / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5912, allocations: 0 / 0.9539 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.5912, allocations: 0 / 0.9539 GB, free: 5.98 MB / 0.7169 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.0002756/0.5915, allocations: 336.4 kB / 0.9542 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5915, allocations: 9.219 kB / 0.9542 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.5915, allocations: 36.19 kB / 0.9543 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.5916, allocations: 6.219 kB / 0.9543 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.305e-05/0.5916, allocations: 165.3 kB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.5917, allocations: 27.39 kB / 0.9544 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.5917, allocations: 9.078 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.5918, allocations: 47.67 kB / 0.9545 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.5918, allocations: 4 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5918, allocations: 4 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.5919, allocations: 1.344 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.5919, allocations: 13.3 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.5922, allocations: 336.6 kB / 0.9548 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.838e-05/0.5923, allocations: 20.77 kB / 0.9549 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.5923, allocations: 5.922 kB / 0.9549 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.5924, allocations: 90.84 kB / 0.955 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.5924, allocations: 35.75 kB / 0.955 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5924, allocations: 3.938 kB / 0.955 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.5925, allocations: 31.36 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.5925, allocations: 52.59 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.5926, allocations: 104.2 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.5926, allocations: 25.83 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.5926, allocations: 93.02 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.5926, allocations: 4.938 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.5927, allocations: 17.75 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.719e-05/0.5927, allocations: 320.2 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.5927, allocations: 1.531 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.5928, allocations: 19 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/0.5928, allocations: 23.39 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5928, allocations: 0 / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.42e-05/0.5929, allocations: 50.98 kB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5929, allocations: 5.594 kB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5929, allocations: 3.984 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5929, allocations: 1.531 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.775e-05/0.5929, allocations: 4.188 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.593, allocations: 1.562 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.593, allocations: 4.062 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.593, allocations: 2.875 kB / 0.9557 GB, free: 3.949 MB / 0.7169 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 4.18e-05/0.593, allocations: 115.1 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.5931, allocations: 1.438 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.353e-05/0.5931, allocations: 124.4 kB / 0.956 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5932, allocations: 176.3 kB / 0.9561 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/0.5932, allocations: 189.7 kB / 0.9563 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.5932, allocations: 181.6 kB / 0.9565 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.5934, allocations: 411.5 kB / 0.9569 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.5934, allocations: 118.1 kB / 0.957 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.5934, allocations: 102.2 kB / 0.9571 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/0.5934, allocations: 184.2 kB / 0.9573 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.5934, allocations: 177.4 kB / 0.9574 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.5935, allocations: 181.5 kB / 0.9576 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-05/0.5935, allocations: 177.5 kB / 0.9578 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.327e-05/0.5936, allocations: 312.5 kB / 0.9581 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.5936, allocations: 183.9 kB / 0.9582 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.5936, allocations: 193.4 kB / 0.9584 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.5938, allocations: 106.5 kB / 0.9585 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.5938, allocations: 177.3 kB / 0.9587 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5938, allocations: 110.1 kB / 0.9588 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.5938, allocations: 84.67 kB / 0.9589 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5938, allocations: 4 kB / 0.9589 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002381/0.5941, allocations: 24.28 kB / 0.9589 GB, free: 0.5156 MB / 0.7169 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.0003649/0.5945, allocations: 0.8239 MB / 0.9597 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.5945, allocations: 17.64 kB / 0.9597 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5945, allocations: 0 / 0.9597 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.5945, allocations: 1.375 kB / 0.9597 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.5949, allocations: 460.8 kB / 0.9602 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.5958, allocations: 1.323 MB / 0.9615 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.5961, allocations: 0.6759 MB / 0.9621 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.912e-05/0.5961, allocations: 4.312 kB / 0.9621 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.5962, allocations: 8.625 kB / 0.9621 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.5962, allocations: 0.9375 kB / 0.9621 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.6133, allocations: 1.492 MB / 0.9636 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.051, allocations: 15.16 kB / 0.9636 GB, free: 12.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches