Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 181.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.5775 GB, free: 20.33 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007941, allocations: 90.28 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003117, allocations: 6.219 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8517/1.062, allocations: 424.2 MB / 1.314 GB, free: 8.852 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/1.063, allocations: 78.2 kB / 1.314 GB, free: 8.809 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02917/1.092, allocations: 13.33 MB / 1.327 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.004e-06/1.092, allocations: 0 / 1.327 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.304e-05/1.092, allocations: 4 kB / 1.327 GB, free: 13.64 MB / 0.8386 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.000714/1.093, allocations: 0.5307 MB / 1.328 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/1.093, allocations: 12.03 kB / 1.328 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/1.093, allocations: 23.75 kB / 1.328 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/1.093, allocations: 235.2 kB / 1.328 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/1.093, allocations: 25.05 kB / 1.328 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/1.093, allocations: 17.23 kB / 1.328 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005904/1.094, allocations: 319.4 kB / 1.329 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.094, allocations: 0 / 1.329 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/1.094, allocations: 7.875 kB / 1.329 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.094, allocations: 0 / 1.329 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/1.095, allocations: 0.809 MB / 1.329 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/1.096, allocations: 307.1 kB / 1.33 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.097, allocations: 0.783 MB / 1.33 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/1.098, allocations: 384.2 kB / 1.331 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/1.098, allocations: 38.5 kB / 1.331 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.382e-06/1.098, allocations: 0 / 1.331 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0015/1.099, allocations: 0.7354 MB / 1.332 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.099, allocations: 59.16 kB / 1.332 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.099, allocations: 116 kB / 1.332 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/1.099, allocations: 33.52 kB / 1.332 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/1.099, allocations: 96.41 kB / 1.332 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/1.1, allocations: 121.7 kB / 1.332 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/1.1, allocations: 7.688 kB / 1.332 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.1, allocations: 337.7 kB / 1.332 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/1.1, allocations: 221.8 kB / 1.333 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/1.101, allocations: 221.4 kB / 1.333 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/1.101, allocations: 207.7 kB / 1.333 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.101, allocations: 4 kB / 1.333 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009893/1.102, allocations: 0.5068 MB / 1.333 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.102, allocations: 4 kB / 1.333 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.102, allocations: 4 kB / 1.333 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.102, allocations: 4 kB / 1.333 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/1.103, allocations: 103.9 kB / 1.334 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.103, allocations: 4 kB / 1.334 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/1.103, allocations: 70.92 kB / 1.334 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/1.103, allocations: 11.98 kB / 1.334 GB, free: 7.633 MB / 0.8386 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.0001258/1.103, allocations: 144.2 kB / 1.334 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/1.103, allocations: 19.75 kB / 1.334 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/1.104, allocations: 0.5693 MB / 1.334 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.104, allocations: 7.984 kB / 1.334 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.104, allocations: 4 kB / 1.334 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.104, allocations: 0 / 1.334 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/1.104, allocations: 316.9 kB / 1.335 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.104, allocations: 0 / 1.335 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/1.105, allocations: 119.8 kB / 1.335 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.105, allocations: 4 kB / 1.335 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/1.105, allocations: 7.688 kB / 1.335 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.105, allocations: 3.984 kB / 1.335 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.105, allocations: 3.938 kB / 1.335 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/1.106, allocations: 0.5427 MB / 1.335 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/1.106, allocations: 108.1 kB / 1.335 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/1.106, allocations: 3.438 kB / 1.335 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.106, allocations: 46.72 kB / 1.335 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/1.106, allocations: 119.5 kB / 1.336 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/1.106, allocations: 15.73 kB / 1.336 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.671e-05/1.106, allocations: 94.45 kB / 1.336 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 3.938 kB / 1.336 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004313/1.107, allocations: 125.5 kB / 1.336 GB, free: 5.523 MB / 0.8386 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.0004686/1.107, allocations: 242.5 kB / 1.336 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001013/1.108, allocations: 0.5084 MB / 1.337 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.108, allocations: 0 / 1.337 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004993/1.109, allocations: 298.7 kB / 1.337 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/1.109, allocations: 70.08 kB / 1.337 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/1.11, allocations: 0.4969 MB / 1.337 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.11, allocations: 0.733 MB / 1.338 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004234/1.111, allocations: 184.9 kB / 1.338 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/1.111, allocations: 43.16 kB / 1.338 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.111, allocations: 0 / 1.338 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of Templates: time 0.008662/1.119, allocations: 5.28 MB / 1.343 GB, free: 13.85 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches