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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 390.3 MB / 402.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009575/0.0009576, allocations: 176.9 kB / 496.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 221.3 MB / 0.7915 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 107.4 kB / 0.9318 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.229e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3469, allocations: 143 MB / 1.219 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.435/1.782, allocations: 442.7 MB / 1.651 GB, free: 7.852 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.782, allocations: 75.95 kB / 1.651 GB, free: 7.777 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 0.03102/1.813, allocations: 13.57 MB / 1.664 GB, free: 10.13 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.834e-06/1.813, allocations: 0 / 1.664 GB, free: 10.13 MB / 1.12 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.813, allocations: 11.94 kB / 1.664 GB, free: 10.12 MB / 1.12 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.0007638/1.814, allocations: 0.5103 MB / 1.665 GB, free: 9.562 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.814, allocations: 12.03 kB / 1.665 GB, free: 9.551 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/1.814, allocations: 15.81 kB / 1.665 GB, free: 9.535 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/1.815, allocations: 231.7 kB / 1.665 GB, free: 9.27 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/1.815, allocations: 23.98 kB / 1.665 GB, free: 9.246 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.815, allocations: 20 kB / 1.665 GB, free: 9.227 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/1.815, allocations: 225.2 kB / 1.665 GB, free: 9 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.815, allocations: 0 / 1.665 GB, free: 9 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.815, allocations: 7.953 kB / 1.665 GB, free: 8.992 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.815, allocations: 4 kB / 1.665 GB, free: 8.988 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008259/1.816, allocations: 0.6282 MB / 1.666 GB, free: 8.359 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/1.816, allocations: 313.2 kB / 1.666 GB, free: 8.004 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.818, allocations: 0.5973 MB / 1.667 GB, free: 7.395 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/1.818, allocations: 172.8 kB / 1.667 GB, free: 7.223 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004111/1.818, allocations: 384.4 kB / 1.667 GB, free: 6.773 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/1.818, allocations: 42.55 kB / 1.667 GB, free: 6.723 MB / 1.12 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/1.818, allocations: 0 / 1.667 GB, free: 6.723 MB / 1.12 GB Notification: Performance of matching and sorting (n=37): time 0.0005763/1.819, allocations: 329.4 kB / 1.668 GB, free: 6.395 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/1.819, allocations: 59.36 kB / 1.668 GB, free: 6.324 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/1.819, allocations: 119.2 kB / 1.668 GB, free: 6.203 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/1.819, allocations: 37.64 kB / 1.668 GB, free: 6.16 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/1.819, allocations: 92.91 kB / 1.668 GB, free: 6.066 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/1.819, allocations: 118.2 kB / 1.668 GB, free: 5.949 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/1.819, allocations: 8 kB / 1.668 GB, free: 5.941 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.819, allocations: 330.8 kB / 1.669 GB, free: 5.609 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.82, allocations: 135.7 kB / 1.669 GB, free: 5.477 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.82, allocations: 131.9 kB / 1.669 GB, free: 5.348 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/1.82, allocations: 116.6 kB / 1.669 GB, free: 5.234 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.82, allocations: 0 / 1.669 GB, free: 5.234 MB / 1.12 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004945/1.821, allocations: 344.7 kB / 1.669 GB, free: 4.891 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.821, allocations: 4 kB / 1.669 GB, free: 4.887 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.821, allocations: 0 / 1.669 GB, free: 4.887 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.821, allocations: 0 / 1.669 GB, free: 4.887 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/1.821, allocations: 111.9 kB / 1.669 GB, free: 4.777 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.821, allocations: 0 / 1.669 GB, free: 4.777 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/1.821, allocations: 71.66 kB / 1.669 GB, free: 4.707 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/1.821, allocations: 15.97 kB / 1.669 GB, free: 4.691 MB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/1.821, allocations: 128.9 kB / 1.67 GB, free: 4.559 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/1.821, allocations: 15.81 kB / 1.67 GB, free: 4.543 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006289/1.822, allocations: 395.1 kB / 1.67 GB, free: 4.148 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.822, allocations: 4 kB / 1.67 GB, free: 4.145 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.822, allocations: 4 kB / 1.67 GB, free: 4.141 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.822, allocations: 3.984 kB / 1.67 GB, free: 4.137 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/1.822, allocations: 317.2 kB / 1.67 GB, free: 3.777 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.822, allocations: 0 / 1.67 GB, free: 3.777 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/1.823, allocations: 111.9 kB / 1.67 GB, free: 3.668 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.823, allocations: 4 kB / 1.67 GB, free: 3.664 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.823, allocations: 11.98 kB / 1.67 GB, free: 3.652 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.823, allocations: 0 / 1.67 GB, free: 3.652 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.823, allocations: 4 kB / 1.67 GB, free: 3.648 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/1.823, allocations: 380.2 kB / 1.671 GB, free: 3.258 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/1.823, allocations: 96.86 kB / 1.671 GB, free: 3.145 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/1.823, allocations: 4 kB / 1.671 GB, free: 3.141 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/1.824, allocations: 51.95 kB / 1.671 GB, free: 3.09 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.824, allocations: 123.7 kB / 1.671 GB, free: 2.969 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/1.824, allocations: 11.98 kB / 1.671 GB, free: 2.957 MB / 1.12 GB Notification: Performance of sorting global known variables: time 6.122e-05/1.824, allocations: 106.6 kB / 1.671 GB, free: 2.855 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.51e-07/1.824, allocations: 0 / 1.671 GB, free: 2.855 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0003906/1.824, allocations: 119.9 kB / 1.671 GB, free: 2.738 MB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004386/1.825, allocations: 231.5 kB / 1.671 GB, free: 2.504 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0005052/1.825, allocations: 343.8 kB / 1.672 GB, free: 2.168 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.825, allocations: 4 kB / 1.672 GB, free: 2.164 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/1.826, allocations: 207.8 kB / 1.672 GB, free: 1.961 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/1.826, allocations: 69.3 kB / 1.672 GB, free: 1.895 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/1.826, allocations: 302.4 kB / 1.672 GB, free: 1.574 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/1.827, allocations: 0.737 MB / 1.673 GB, free: 0.8125 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.000418/1.827, allocations: 183.4 kB / 1.673 GB, free: 0.6367 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/1.827, allocations: 39.42 kB / 1.673 GB, free: 0.5977 MB / 1.12 GB Notification: Performance of SimCode: time 2.51e-07/1.827, allocations: 0 / 1.673 GB, free: 0.5977 MB / 1.12 GB Notification: Performance of Templates: time 0.008968/1.836, allocations: 5.413 MB / 1.679 GB, free: 11.25 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches