Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_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.00621/0.00621, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001072/0.001072, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.562/2.562, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.6348, allocations: 159.1 MB / 1.22 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002196/0.637, allocations: 1.377 MB / 1.221 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.6405, allocations: 2.914 MB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.6406, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.41e-05/0.6407, allocations: 7.922 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.6408, allocations: 43.81 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.6414, allocations: 187.1 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.6416, allocations: 239.5 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.6417, allocations: 7.984 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.6418, allocations: 95.78 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.6419, allocations: 115.8 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.6419, allocations: 12 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.6423, allocations: 139.8 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.6424, allocations: 91.75 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.6425, allocations: 87.64 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.6428, allocations: 279.2 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6428, allocations: 4 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6429, allocations: 3.938 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6429, allocations: 0 / 1.225 GB, free: 12.79 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.0007881/0.6437, allocations: 0.5359 MB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.6437, allocations: 16.62 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.6438, allocations: 50.73 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.6439, allocations: 20.84 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.6441, allocations: 236.1 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.6442, allocations: 24.36 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.6442, allocations: 12.38 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.6449, allocations: 290.6 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6449, allocations: 0 / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.6449, allocations: 12 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6449, allocations: 4 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.6464, allocations: 0.7452 MB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.6467, allocations: 305.1 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.6484, allocations: 0.6832 MB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.649, allocations: 228.7 kB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.6494, allocations: 392.3 kB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.6494, allocations: 34.56 kB / 1.229 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.6494, allocations: 0 / 1.229 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001667/0.6511, allocations: 0.6612 MB / 1.229 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.6511, allocations: 55.41 kB / 1.229 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.6512, allocations: 130.1 kB / 1.229 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.6512, allocations: 29.7 kB / 1.23 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.6513, allocations: 92.73 kB / 1.23 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.6514, allocations: 130.9 kB / 1.23 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.6515, allocations: 65.69 kB / 1.23 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.6516, allocations: 322.8 kB / 1.23 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.6521, allocations: 199.8 kB / 1.23 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.6526, allocations: 197 kB / 1.23 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.6536, allocations: 364.7 kB / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6536, allocations: 0 / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00111/0.6547, allocations: 468.6 kB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6547, allocations: 7.938 kB / 1.231 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.6547, allocations: 4 kB / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6547, allocations: 4 kB / 1.231 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.6551, allocations: 95.86 kB / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6551, allocations: 0 / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.6553, allocations: 55.73 kB / 1.231 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.6554, allocations: 19.98 kB / 1.231 GB, free: 6.07 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.0001137/0.6555, allocations: 134.3 kB / 1.232 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.6555, allocations: 23.84 kB / 1.232 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.6568, allocations: 0.5138 MB / 1.232 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6568, allocations: 7.984 kB / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6568, allocations: 0 / 1.232 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6568, allocations: 4 kB / 1.232 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.6571, allocations: 313.4 kB / 1.232 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6571, allocations: 3.938 kB / 1.232 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.6575, allocations: 103.8 kB / 1.233 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6575, allocations: 0 / 1.233 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.6575, allocations: 8 kB / 1.233 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6575, allocations: 3.984 kB / 1.233 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6575, allocations: 4 kB / 1.233 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.6587, allocations: 496.1 kB / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.6587, allocations: 108.8 kB / 1.233 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.6588, allocations: 12 kB / 1.233 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.659, allocations: 35.97 kB / 1.233 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.6592, allocations: 119.8 kB / 1.233 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.6592, allocations: 15.98 kB / 1.233 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.6593, allocations: 95.27 kB / 1.233 GB, free: 4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6593, allocations: 0 / 1.233 GB, free: 4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003518/0.6596, allocations: 111.8 kB / 1.233 GB, free: 3.891 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.001555/0.6612, allocations: 1.127 MB / 1.235 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.6623, allocations: 467.3 kB / 1.235 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6623, allocations: 7.875 kB / 1.235 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.6629, allocations: 260.7 kB / 1.235 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.6633, allocations: 75.92 kB / 1.235 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.6673, allocations: 2.68 MB / 1.238 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.6676, allocations: 0.7367 MB / 1.239 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.668, allocations: 190.1 kB / 1.239 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.6681, allocations: 63.41 kB / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.6681, allocations: 0 / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.6905, allocations: 7.435 MB / 1.246 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/8.158, allocations: 20.41 kB / 1.246 GB, free: 6.895 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches