Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_11_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.005303/0.005303, allocations: 100.4 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 67.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.6566, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002415/0.659, allocations: 1.377 MB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00376/0.6628, allocations: 2.918 MB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.6628, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.555e-05/0.6629, allocations: 7.922 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.6631, allocations: 43.81 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.6636, allocations: 187.1 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.6639, allocations: 243.5 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.6639, allocations: 7.984 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.664, allocations: 91.8 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.6642, allocations: 119.8 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.6643, allocations: 8 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.6646, allocations: 139.8 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.6648, allocations: 87.81 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.6649, allocations: 99.56 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.6653, allocations: 270.8 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.6653, allocations: 0 / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6653, allocations: 3.938 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6653, allocations: 0 / 1.226 GB, free: 12.45 MB / 0.9512 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.0009204/0.6662, allocations: 0.5412 MB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.6663, allocations: 8.031 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.6663, allocations: 50.73 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.6665, allocations: 20.84 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.6667, allocations: 236.1 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.6668, allocations: 28.3 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.6668, allocations: 12.38 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.6676, allocations: 297.1 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6676, allocations: 0 / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.6676, allocations: 8 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6676, allocations: 4 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.6693, allocations: 0.7452 MB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.6697, allocations: 305.1 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.6715, allocations: 0.6814 MB / 1.228 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.6721, allocations: 232.7 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.6726, allocations: 392.3 kB / 1.229 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.6726, allocations: 34.56 kB / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.6726, allocations: 0 / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001848/0.6745, allocations: 0.6573 MB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.6745, allocations: 59.41 kB / 1.23 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.6747, allocations: 132.1 kB / 1.23 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.6747, allocations: 29.7 kB / 1.23 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.6748, allocations: 92.8 kB / 1.23 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.6749, allocations: 134.8 kB / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.675, allocations: 61.69 kB / 1.23 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6752, allocations: 330.8 kB / 1.231 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.6757, allocations: 191.8 kB / 1.231 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.6763, allocations: 195.8 kB / 1.231 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6773, allocations: 365.9 kB / 1.231 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6773, allocations: 4 kB / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001225/0.6785, allocations: 468.6 kB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6786, allocations: 8 kB / 1.232 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6786, allocations: 0 / 1.232 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.6786, allocations: 0 / 1.232 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.679, allocations: 99.84 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.679, allocations: 0 / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.6792, allocations: 51.81 kB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.6793, allocations: 15.98 kB / 1.232 GB, free: 5.727 MB / 0.9512 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 0.0001324/0.6794, allocations: 141.8 kB / 1.232 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.6794, allocations: 19.84 kB / 1.232 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.6808, allocations: 0.522 MB / 1.233 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6808, allocations: 4 kB / 1.233 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6808, allocations: 0 / 1.233 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6808, allocations: 0 / 1.233 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.6812, allocations: 317.4 kB / 1.233 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6812, allocations: 7.875 kB / 1.233 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.6816, allocations: 95.86 kB / 1.233 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6816, allocations: 0 / 1.233 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.6816, allocations: 11.98 kB / 1.233 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6816, allocations: 4 kB / 1.233 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6817, allocations: 0 / 1.233 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6829, allocations: 0.4884 MB / 1.233 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.683, allocations: 108.8 kB / 1.234 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.683, allocations: 12 kB / 1.234 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.6832, allocations: 35.95 kB / 1.234 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.6835, allocations: 115.8 kB / 1.234 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.6835, allocations: 19.92 kB / 1.234 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.6836, allocations: 96.39 kB / 1.234 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6836, allocations: 0 / 1.234 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003571/0.684, allocations: 119.8 kB / 1.234 GB, free: 3.527 MB / 0.9512 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.001767/0.6857, allocations: 1.12 MB / 1.235 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.687, allocations: 467.3 kB / 1.235 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.687, allocations: 7.938 kB / 1.235 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.6876, allocations: 260.7 kB / 1.236 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.688, allocations: 67.94 kB / 1.236 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.6926, allocations: 2.684 MB / 1.238 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.693, allocations: 0.7328 MB / 1.239 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004169/0.6934, allocations: 196.1 kB / 1.239 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.6936, allocations: 67.41 kB / 1.239 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.6936, allocations: 0 / 1.239 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.7232, allocations: 7.431 MB / 1.247 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.847, allocations: 10.27 kB / 1.247 GB, free: 6.543 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches