Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001673/0.001673, 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.001933/0.001934, allocations: 193.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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.29/2.29, allocations: 390.3 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5006, allocations: 140.4 MB / 0.9497 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002006/0.5026, allocations: 1.384 MB / 0.9511 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002566/0.5052, allocations: 2.913 MB / 0.9539 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.5052, allocations: 5.219 kB / 0.9539 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.903e-05/0.5053, allocations: 7.922 kB / 0.9539 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.5054, allocations: 41.84 kB / 0.954 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.5059, allocations: 186.5 kB / 0.9541 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.5061, allocations: 241 kB / 0.9544 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.5061, allocations: 3.688 kB / 0.9544 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.5062, allocations: 90.84 kB / 0.9545 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.5063, allocations: 126.8 kB / 0.9546 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.5064, allocations: 10.56 kB / 0.9546 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.5067, allocations: 133.8 kB / 0.9547 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.5068, allocations: 93.19 kB / 0.9548 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.5069, allocations: 90.06 kB / 0.9549 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.5072, allocations: 275 kB / 0.9551 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5072, allocations: 4 kB / 0.9552 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5072, allocations: 1.125 kB / 0.9552 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5072, allocations: 0 / 0.9552 GB, free: 5.258 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006837/0.5079, allocations: 0.5217 MB / 0.9557 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5079, allocations: 12.94 kB / 0.9557 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.508, allocations: 56.08 kB / 0.9557 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.5081, allocations: 22.72 kB / 0.9557 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.5083, allocations: 232.4 kB / 0.956 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.5083, allocations: 32.02 kB / 0.956 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.5084, allocations: 14.31 kB / 0.956 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006077/0.509, allocations: 289.6 kB / 0.9563 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.509, allocations: 0 / 0.9563 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.509, allocations: 10.33 kB / 0.9563 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.509, allocations: 3.5 kB / 0.9563 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.5104, allocations: 0.7464 MB / 0.957 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.5107, allocations: 305.9 kB / 0.9573 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.5123, allocations: 0.6888 MB / 0.958 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.5128, allocations: 227.2 kB / 0.9582 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.5131, allocations: 394.3 kB / 0.9586 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.5131, allocations: 35.73 kB / 0.9586 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.644e-06/0.5131, allocations: 0.7812 kB / 0.9586 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001607/0.5148, allocations: 0.644 MB / 0.9593 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.5148, allocations: 55.12 kB / 0.9593 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.5149, allocations: 133.6 kB / 0.9594 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.5149, allocations: 34.73 kB / 0.9595 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.085e-05/0.5149, allocations: 87.45 kB / 0.9595 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.515, allocations: 129.3 kB / 0.9597 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.5151, allocations: 68.53 kB / 0.9597 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.5151, allocations: 331.5 kB / 0.9601 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.5156, allocations: 192.2 kB / 0.9602 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.5161, allocations: 198.5 kB / 0.9604 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.517, allocations: 362.3 kB / 0.9608 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.517, allocations: 0 / 0.9608 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001065/0.5181, allocations: 471.3 kB / 0.9612 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5181, allocations: 5.656 kB / 0.9612 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5181, allocations: 4 kB / 0.9612 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5181, allocations: 2.031 kB / 0.9612 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.5185, allocations: 95.97 kB / 0.9613 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5185, allocations: 1.188 kB / 0.9613 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5187, allocations: 50.44 kB / 0.9614 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5187, allocations: 23.61 kB / 0.9614 GB, free: 1.156 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.113e-05/0.5188, allocations: 144.8 kB / 0.9615 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.5189, allocations: 19.44 kB / 0.9616 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.52, allocations: 0.5096 MB / 0.9621 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5201, allocations: 4.031 kB / 0.9621 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5201, allocations: 0 / 0.9621 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5201, allocations: 0 / 0.9621 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.5203, allocations: 314.1 kB / 0.9624 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5203, allocations: 3.938 kB / 0.9624 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.5207, allocations: 99.97 kB / 0.9625 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5207, allocations: 1.812 kB / 0.9625 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5207, allocations: 16.23 kB / 0.9625 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5207, allocations: 1.094 kB / 0.9625 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5207, allocations: 1.062 kB / 0.9625 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.5218, allocations: 0.4944 MB / 0.963 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.5218, allocations: 101.8 kB / 0.9631 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.5219, allocations: 6.219 kB / 0.9631 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5221, allocations: 39.89 kB / 0.9631 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.5223, allocations: 114.8 kB / 0.9632 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.5223, allocations: 16.77 kB / 0.9632 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.5224, allocations: 96.58 kB / 0.9633 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5224, allocations: 0 / 0.9633 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003626/0.5228, allocations: 124.7 kB / 0.9634 GB, free: 15.85 MB / 0.7325 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 (37): * Single equations (assignments): 37 * 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.001617/0.5244, allocations: 1.113 MB / 0.9645 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.5257, allocations: 0.561 MB / 0.9651 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5257, allocations: 0 / 0.9651 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.5262, allocations: 259.7 kB / 0.9653 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.5267, allocations: 80.23 kB / 0.9654 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.5308, allocations: 2.66 MB / 0.968 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.5311, allocations: 0.7307 MB / 0.9687 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004266/0.5315, allocations: 185.6 kB / 0.9689 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.5316, allocations: 68.33 kB / 0.9689 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5316, allocations: 0 / 0.9689 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.5541, allocations: 7.363 MB / 0.9761 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.722, allocations: 11.91 kB / 0.9761 GB, free: 6.496 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_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_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches