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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.707/2.707, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001445/0.001445, allocations: 166.7 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0008687/0.0008688, allocations: 90.47 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 6.969 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3515, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.594, allocations: 441.9 MB / 1.654 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.595, allocations: 76.83 kB / 1.655 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.03298/1.627, allocations: 13.61 MB / 1.668 GB, free: 8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.134e-06/1.628, allocations: 4 kB / 1.668 GB, free: 7.996 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.416e-05/1.628, allocations: 0 / 1.668 GB, free: 7.996 MB / 0.9792 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.0008821/1.628, allocations: 0.5315 MB / 1.668 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.629, allocations: 8.031 kB / 1.668 GB, free: 7.422 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/1.629, allocations: 19.8 kB / 1.668 GB, free: 7.402 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/1.629, allocations: 236.7 kB / 1.669 GB, free: 7.145 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/1.629, allocations: 23.48 kB / 1.669 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/1.629, allocations: 18.42 kB / 1.669 GB, free: 7.113 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/1.63, allocations: 315.1 kB / 1.669 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.63, allocations: 0 / 1.669 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.63, allocations: 11.14 kB / 1.669 GB, free: 6.832 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.63, allocations: 4 kB / 1.669 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/1.631, allocations: 0.8071 MB / 1.67 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/1.632, allocations: 297.2 kB / 1.67 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.634, allocations: 0.7795 MB / 1.671 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/1.634, allocations: 384 kB / 1.671 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.634, allocations: 37.75 kB / 1.671 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/1.634, allocations: 0 / 1.671 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of matching and sorting (n=37): time 0.001637/1.636, allocations: 0.737 MB / 1.672 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.636, allocations: 59.36 kB / 1.672 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/1.636, allocations: 119.6 kB / 1.672 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.636, allocations: 29.58 kB / 1.672 GB, free: 3.75 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/1.636, allocations: 99.22 kB / 1.672 GB, free: 3.652 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/1.636, allocations: 125 kB / 1.672 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/1.636, allocations: 7.062 kB / 1.672 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.636, allocations: 330.4 kB / 1.673 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/1.637, allocations: 221.4 kB / 1.673 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/1.637, allocations: 227.1 kB / 1.673 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/1.638, allocations: 204.7 kB / 1.673 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.638, allocations: 0 / 1.673 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001044/1.639, allocations: 0.5144 MB / 1.674 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.639, allocations: 4 kB / 1.674 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.639, allocations: 3.938 kB / 1.674 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.639, allocations: 3.984 kB / 1.674 GB, free: 2.176 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.639, allocations: 115.5 kB / 1.674 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.639, allocations: 0 / 1.674 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.639, allocations: 79.81 kB / 1.674 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.639, allocations: 11.98 kB / 1.674 GB, free: 1.984 MB / 0.9792 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.64, allocations: 140.5 kB / 1.674 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/1.64, allocations: 15.81 kB / 1.674 GB, free: 1.832 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/1.641, allocations: 0.5674 MB / 1.675 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/1.641, allocations: 7.984 kB / 1.675 GB, free: 1.336 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.641, allocations: 0 / 1.675 GB, free: 1.336 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.641, allocations: 0 / 1.675 GB, free: 1.336 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/1.641, allocations: 320.5 kB / 1.675 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.641, allocations: 4 kB / 1.675 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/1.642, allocations: 111.8 kB / 1.675 GB, free: 0.8945 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.642, allocations: 0 / 1.675 GB, free: 0.8945 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/1.642, allocations: 10.75 kB / 1.675 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.642, allocations: 7.984 kB / 1.675 GB, free: 0.8828 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.642, allocations: 4 kB / 1.675 GB, free: 0.8789 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.643, allocations: 0.5513 MB / 1.676 GB, free: 380 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/1.643, allocations: 100.8 kB / 1.676 GB, free: 260 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/1.643, allocations: 2.938 kB / 1.676 GB, free: 260 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/1.643, allocations: 55.66 kB / 1.676 GB, free: 212 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.644, allocations: 115.7 kB / 1.676 GB, free: 100 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/1.644, allocations: 15.73 kB / 1.676 GB, free: 88 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.656e-05/1.644, allocations: 94.2 kB / 1.676 GB, free: 16 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/1.644, allocations: 0 / 1.676 GB, free: 16 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004851/1.644, allocations: 122.4 kB / 1.676 GB, free: 15.89 MB / 0.9948 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 (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.0005957/1.645, allocations: 243.2 kB / 1.676 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.646, allocations: 0.5115 MB / 1.677 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.646, allocations: 0 / 1.677 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/1.647, allocations: 299.5 kB / 1.677 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.647, allocations: 69.89 kB / 1.677 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/1.648, allocations: 0.4959 MB / 1.678 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.648, allocations: 0.737 MB / 1.678 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004647/1.649, allocations: 181.5 kB / 1.679 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.649, allocations: 35.28 kB / 1.679 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of SimCode: time 4.4e-07/1.649, allocations: 0 / 1.679 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of Templates: time 0.01069/1.659, allocations: 5.279 MB / 1.684 GB, free: 8.219 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (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 & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches