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.71/2.71, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001084/0.001084, allocations: 179.4 kB / 0.4902 GB, free: 2.262 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.538/1.538, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009851/0.0009853, allocations: 104.1 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004379, allocations: 12.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3348, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.492, allocations: 442.7 MB / 1.662 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.493, allocations: 72.94 kB / 1.662 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.03137/1.524, allocations: 13.62 MB / 1.675 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.913e-06/1.524, allocations: 0 / 1.675 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.504e-05/1.524, allocations: 0 / 1.675 GB, free: 10.65 MB / 0.9948 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.0008623/1.525, allocations: 0.5258 MB / 1.675 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.525, allocations: 8.562 kB / 1.675 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/1.525, allocations: 19.81 kB / 1.675 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/1.526, allocations: 233.4 kB / 1.676 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/1.526, allocations: 26.3 kB / 1.676 GB, free: 9.781 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/1.526, allocations: 15.62 kB / 1.676 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/1.526, allocations: 316.4 kB / 1.676 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.526, allocations: 0 / 1.676 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/1.526, allocations: 11.02 kB / 1.676 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.526, allocations: 4 kB / 1.676 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/1.528, allocations: 0.8072 MB / 1.677 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/1.528, allocations: 307.7 kB / 1.677 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/1.53, allocations: 0.7782 MB / 1.678 GB, free: 7.762 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/1.53, allocations: 387 kB / 1.678 GB, free: 7.316 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.53, allocations: 38.48 kB / 1.678 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/1.53, allocations: 0 / 1.678 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37): time 0.001597/1.532, allocations: 0.7327 MB / 1.679 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.532, allocations: 59.11 kB / 1.679 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/1.532, allocations: 128.1 kB / 1.679 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.532, allocations: 35.95 kB / 1.679 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/1.532, allocations: 88.61 kB / 1.679 GB, free: 6.301 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.532, allocations: 124.1 kB / 1.679 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/1.532, allocations: 7.25 kB / 1.679 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.533, allocations: 330.2 kB / 1.68 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/1.533, allocations: 224.9 kB / 1.68 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/1.533, allocations: 227 kB / 1.68 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/1.534, allocations: 197.5 kB / 1.68 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.534, allocations: 0 / 1.68 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001024/1.535, allocations: 0.5178 MB / 1.681 GB, free: 4.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.535, allocations: 4 kB / 1.681 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.535, allocations: 0 / 1.681 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.535, allocations: 4 kB / 1.681 GB, free: 4.832 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/1.535, allocations: 107.9 kB / 1.681 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.535, allocations: 3.984 kB / 1.681 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.536, allocations: 71.58 kB / 1.681 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/1.536, allocations: 11.98 kB / 1.681 GB, free: 4.648 MB / 0.9948 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.0001438/1.536, allocations: 144.4 kB / 1.681 GB, free: 4.508 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/1.536, allocations: 23.8 kB / 1.681 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/1.537, allocations: 0.5655 MB / 1.682 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.537, allocations: 4 kB / 1.682 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.537, allocations: 0 / 1.682 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.537, allocations: 4 kB / 1.682 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/1.537, allocations: 324.1 kB / 1.682 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.537, allocations: 4 kB / 1.682 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/1.538, allocations: 111.8 kB / 1.682 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.538, allocations: 0 / 1.682 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.538, allocations: 11.92 kB / 1.682 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.538, allocations: 4 kB / 1.682 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.538, allocations: 0 / 1.682 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.539, allocations: 0.5499 MB / 1.683 GB, free: 3.027 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/1.539, allocations: 96.8 kB / 1.683 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/1.539, allocations: 11.38 kB / 1.683 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/1.539, allocations: 51.58 kB / 1.683 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.539, allocations: 118.8 kB / 1.683 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/1.539, allocations: 11.5 kB / 1.683 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.249e-05/1.54, allocations: 102.9 kB / 1.683 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.54, allocations: 3.938 kB / 1.683 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004667/1.54, allocations: 121.9 kB / 1.683 GB, free: 2.535 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.000565/1.541, allocations: 230.7 kB / 1.683 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001047/1.542, allocations: 0.5176 MB / 1.684 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.542, allocations: 0 / 1.684 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/1.542, allocations: 298.7 kB / 1.684 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/1.543, allocations: 68.2 kB / 1.684 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/1.543, allocations: 498.9 kB / 1.685 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/1.544, allocations: 0.7408 MB / 1.686 GB, free: 288 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000444/1.544, allocations: 196.7 kB / 1.686 GB, free: 100 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/1.544, allocations: 31.3 kB / 1.686 GB, free: 72 kB / 0.9948 GB Notification: Performance of SimCode: time 4.71e-07/1.544, allocations: 0 / 1.686 GB, free: 72 kB / 0.9948 GB Notification: Performance of Templates: time 0.009688/1.554, allocations: 5.273 MB / 1.691 GB, free: 10.87 MB / 1.01 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