Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001404/0.001404, allocations: 190.8 kB / 326.5 MB, free: 2.246 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.797/1.797, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008259/0.0008258, allocations: 86.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 11.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.282, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4746, allocations: 131.2 MB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4749, allocations: 67.95 kB / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005652/0.4806, allocations: 2.302 MB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4806, allocations: 3.938 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.4807, allocations: 4 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004999/0.4812, allocations: 474.8 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4812, allocations: 12.03 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.4813, allocations: 23.72 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.4817, allocations: 270.5 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.4817, allocations: 12.44 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.4818, allocations: 24 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.4823, allocations: 341.1 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4823, allocations: 4 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.4823, allocations: 8 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.4824, allocations: 8 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.4827, allocations: 235.7 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4842, allocations: 1.405 MB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4843, allocations: 173.8 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.4844, allocations: 75.28 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.4844, allocations: 113.8 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/0.4844, allocations: 0 / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/0.4846, allocations: 49.42 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.4846, allocations: 126.7 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/0.4851, allocations: 463.5 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4852, allocations: 25.7 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4853, allocations: 167.8 kB / 1.034 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.4853, allocations: 7.938 kB / 1.034 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.4853, allocations: 8 kB / 1.034 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4855, allocations: 338.8 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.4856, allocations: 51.95 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4857, allocations: 95.78 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.4858, allocations: 59.95 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4858, allocations: 3.938 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003202/0.4861, allocations: 185 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4861, allocations: 8 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4861, allocations: 224 / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4862, allocations: 8 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4863, allocations: 23.98 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4863, allocations: 0 / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.4864, allocations: 43.67 kB / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.4864, allocations: 8 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001847/0.4866, allocations: 245 kB / 1.035 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.4867, allocations: 128.7 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.4868, allocations: 142.8 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-05/0.4869, allocations: 180.3 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-05/0.4869, allocations: 176.3 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.859e-05/0.487, allocations: 184.2 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.4873, allocations: 497.1 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/0.4874, allocations: 104.9 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.4874, allocations: 109 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-05/0.4875, allocations: 180.2 kB / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.4876, allocations: 180.2 kB / 1.037 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-05/0.4877, allocations: 176.3 kB / 1.037 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-05/0.4878, allocations: 188.2 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.4879, allocations: 327.5 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4882, allocations: 233.7 kB / 1.038 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.28e-05/0.4883, allocations: 176.3 kB / 1.038 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4884, allocations: 109.7 kB / 1.038 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.4885, allocations: 184.2 kB / 1.039 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.4885, allocations: 101 kB / 1.039 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003762/0.4889, allocations: 359 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.763e-06/0.4889, allocations: 4 kB / 1.039 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002521/0.4892, allocations: 31.88 kB / 1.039 GB, free: 0.9258 MB / 0.6823 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 (0): * Single equations (assignments): 0 * 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.0002877/0.4895, allocations: 174.5 kB / 1.039 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.4897, allocations: 72.08 kB / 1.039 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4897, allocations: 0 / 1.039 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.4897, allocations: 0 / 1.039 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.4903, allocations: 0.5429 MB / 1.04 GB, free: 132 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.4909, allocations: 497.1 kB / 1.04 GB, free: 15.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4913, allocations: 0.783 MB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000103/0.4914, allocations: 49.52 kB / 1.041 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.4915, allocations: 15.44 kB / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.4915, allocations: 0 / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of Templates: time 0.004421/0.4959, allocations: 1.599 MB / 1.043 GB, free: 13.14 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches