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.326/2.326, allocations: 390.5 MB / 398 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.001491/0.001491, allocations: 176.9 kB / 491.2 MB, free: 1.605 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.696/1.696, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009514/0.0009516, allocations: 91.89 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.61e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/1.697, allocations: 442 MB / 1.644 GB, free: 6.328 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.698, allocations: 80.53 kB / 1.644 GB, free: 6.285 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.02975/1.727, allocations: 13.5 MB / 1.657 GB, free: 11.13 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.473e-06/1.727, allocations: 0 / 1.657 GB, free: 11.13 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.727, allocations: 7.938 kB / 1.657 GB, free: 11.12 MB / 1.073 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.0008363/1.728, allocations: 0.509 MB / 1.658 GB, free: 10.58 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.728, allocations: 12.03 kB / 1.658 GB, free: 10.57 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/1.728, allocations: 19.8 kB / 1.658 GB, free: 10.55 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/1.729, allocations: 229.6 kB / 1.658 GB, free: 10.3 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/1.729, allocations: 15.98 kB / 1.658 GB, free: 10.29 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/1.729, allocations: 8 kB / 1.658 GB, free: 10.28 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000845/1.73, allocations: 0.6279 MB / 1.659 GB, free: 9.715 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/1.73, allocations: 205.8 kB / 1.659 GB, free: 9.535 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.73, allocations: 7.891 kB / 1.659 GB, free: 9.527 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/1.73, allocations: 4 kB / 1.659 GB, free: 9.523 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.73, allocations: 4 kB / 1.659 GB, free: 9.52 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/1.731, allocations: 271.1 kB / 1.659 GB, free: 9.242 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.732, allocations: 0.5826 MB / 1.66 GB, free: 8.773 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/1.732, allocations: 161.5 kB / 1.66 GB, free: 8.648 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/1.732, allocations: 380.2 kB / 1.66 GB, free: 8.207 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.732, allocations: 39.44 kB / 1.66 GB, free: 8.164 MB / 1.073 GB Notification: Performance of pre-optimization done (n=37): time 2.775e-06/1.732, allocations: 0 / 1.66 GB, free: 8.164 MB / 1.073 GB Notification: Performance of matching and sorting (n=37): time 0.002661/1.735, allocations: 0.6445 MB / 1.661 GB, free: 7.559 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.735, allocations: 55.41 kB / 1.661 GB, free: 7.492 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.735, allocations: 115.8 kB / 1.661 GB, free: 7.383 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/1.735, allocations: 25.7 kB / 1.661 GB, free: 7.352 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/1.735, allocations: 88.73 kB / 1.661 GB, free: 7.266 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.735, allocations: 121 kB / 1.661 GB, free: 7.16 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/1.735, allocations: 0 / 1.661 GB, free: 7.16 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.736, allocations: 334.3 kB / 1.662 GB, free: 6.832 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.736, allocations: 120.4 kB / 1.662 GB, free: 6.738 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/1.736, allocations: 135.2 kB / 1.662 GB, free: 6.633 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.738, allocations: 442.3 kB / 1.662 GB, free: 6.215 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.738, allocations: 0 / 1.662 GB, free: 6.215 MB / 1.073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002498/1.741, allocations: 0.6423 MB / 1.663 GB, free: 5.613 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.741, allocations: 8 kB / 1.663 GB, free: 5.605 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.741, allocations: 0 / 1.663 GB, free: 5.605 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.741, allocations: 0 / 1.663 GB, free: 5.605 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/1.741, allocations: 111.8 kB / 1.663 GB, free: 5.496 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.741, allocations: 4 kB / 1.663 GB, free: 5.492 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/1.741, allocations: 57 kB / 1.663 GB, free: 5.438 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/1.741, allocations: 23.34 kB / 1.663 GB, free: 5.418 MB / 1.073 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 0.000109/1.742, allocations: 108.9 kB / 1.663 GB, free: 5.305 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/1.742, allocations: 15.81 kB / 1.663 GB, free: 5.289 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/1.744, allocations: 0.702 MB / 1.664 GB, free: 4.652 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.744, allocations: 4 kB / 1.664 GB, free: 4.648 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.744, allocations: 0 / 1.664 GB, free: 4.648 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.744, allocations: 4 kB / 1.664 GB, free: 4.645 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/1.745, allocations: 280.9 kB / 1.664 GB, free: 4.355 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.745, allocations: 0 / 1.664 GB, free: 4.355 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/1.745, allocations: 115.1 kB / 1.664 GB, free: 4.246 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.745, allocations: 0 / 1.664 GB, free: 4.246 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/1.745, allocations: 7.984 kB / 1.664 GB, free: 4.238 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.745, allocations: 3.938 kB / 1.664 GB, free: 4.234 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.745, allocations: 0 / 1.664 GB, free: 4.234 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/1.748, allocations: 0.6784 MB / 1.665 GB, free: 3.59 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/1.748, allocations: 100.8 kB / 1.665 GB, free: 3.473 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/1.748, allocations: 4 kB / 1.665 GB, free: 3.469 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/1.748, allocations: 39.97 kB / 1.665 GB, free: 3.43 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.748, allocations: 118.5 kB / 1.665 GB, free: 3.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/1.748, allocations: 15.98 kB / 1.665 GB, free: 3.305 MB / 1.073 GB Notification: Performance of sorting global known variables: time 9.39e-05/1.749, allocations: 93.64 kB / 1.665 GB, free: 3.219 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.31e-07/1.749, allocations: 0 / 1.665 GB, free: 3.219 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0004697/1.749, allocations: 123.1 kB / 1.665 GB, free: 3.105 MB / 1.073 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.0005719/1.75, allocations: 230.1 kB / 1.666 GB, free: 2.875 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0005276/1.75, allocations: 332.5 kB / 1.666 GB, free: 2.609 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.75, allocations: 0 / 1.666 GB, free: 2.609 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/1.75, allocations: 201.1 kB / 1.666 GB, free: 2.453 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/1.751, allocations: 62.77 kB / 1.666 GB, free: 2.398 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/1.751, allocations: 281.5 kB / 1.666 GB, free: 2.117 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/1.752, allocations: 0.737 MB / 1.667 GB, free: 1.355 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0004478/1.752, allocations: 185.1 kB / 1.667 GB, free: 1.18 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/1.752, allocations: 38.91 kB / 1.667 GB, free: 1.145 MB / 1.073 GB Notification: Performance of SimCode: time 2.4e-07/1.752, allocations: 0 / 1.667 GB, free: 1.145 MB / 1.073 GB Notification: Performance of Templates: time 0.0094/1.762, allocations: 4.881 MB / 1.672 GB, free: 12.34 MB / 1.089 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