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.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001017/0.001017, allocations: 179.3 kB / 326.5 MB, free: 2.238 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.751/1.751, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008776/0.0008775, allocations: 97.55 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12.59 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2788, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.4769, allocations: 131.2 MB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004031/0.4774, allocations: 71.95 kB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006649/0.484, allocations: 2.353 MB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4841, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.4841, allocations: 7.938 kB / 1.031 GB, free: 10.06 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000559/0.4847, allocations: 482.8 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.4847, allocations: 8.031 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.4848, allocations: 23.72 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.4852, allocations: 266.5 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.4852, allocations: 16.44 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.4853, allocations: 20 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.4858, allocations: 354 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4858, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.4858, allocations: 12 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.4858, allocations: 8 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.4862, allocations: 235.7 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4879, allocations: 1.495 MB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/0.488, allocations: 169.8 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.488, allocations: 75.28 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/0.4881, allocations: 117.8 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.4881, allocations: 0 / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001064/0.4882, allocations: 53.42 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.4883, allocations: 126.7 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.4889, allocations: 475.4 kB / 1.034 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4889, allocations: 25.7 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.489, allocations: 167.8 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-06/0.4891, allocations: 0 / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4891, allocations: 3.938 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4893, allocations: 344.4 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.4893, allocations: 55.95 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4895, allocations: 94.77 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4896, allocations: 63.95 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4896, allocations: 4 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003047/0.4899, allocations: 185.1 kB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4899, allocations: 6.188 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.4899, allocations: 4 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.49, allocations: 4.25 kB / 1.035 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4901, allocations: 19.98 kB / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4901, allocations: 4 kB / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.4902, allocations: 43.58 kB / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4902, allocations: 11.95 kB / 1.035 GB, free: 4.871 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0002052/0.4904, allocations: 253 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4906, allocations: 120.7 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.4907, allocations: 138.8 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.333e-05/0.4908, allocations: 184.3 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/0.4909, allocations: 180.3 kB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/0.491, allocations: 184.1 kB / 1.036 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.4914, allocations: 497.1 kB / 1.037 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/0.4915, allocations: 108.9 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.4915, allocations: 105 kB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.147e-05/0.4916, allocations: 184.2 kB / 1.037 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.4917, allocations: 184.2 kB / 1.037 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.713e-05/0.4918, allocations: 180.3 kB / 1.038 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.9e-05/0.4919, allocations: 180.2 kB / 1.038 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4921, allocations: 335.4 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.4923, allocations: 225.8 kB / 1.038 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.4924, allocations: 176.3 kB / 1.038 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4925, allocations: 109.7 kB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.4926, allocations: 180.2 kB / 1.039 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.4926, allocations: 112.9 kB / 1.039 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003587/0.493, allocations: 363 kB / 1.039 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.493, allocations: 0 / 1.039 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002719/0.4933, allocations: 28 kB / 1.039 GB, free: 0.7031 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.00018/0.4935, allocations: 178.5 kB / 1.039 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.4936, allocations: 64.27 kB / 1.039 GB, free: 468 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4936, allocations: 4.125 kB / 1.039 GB, free: 464 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.4936, allocations: 0 / 1.039 GB, free: 464 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.4942, allocations: 0.5472 MB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.4949, allocations: 0.493 MB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.4953, allocations: 0.7791 MB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.574e-05/0.4954, allocations: 45.53 kB / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.4955, allocations: 19.44 kB / 1.041 GB, free: 14.51 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.4955, allocations: 0 / 1.041 GB, free: 14.51 MB / 0.698 GB Notification: Performance of Templates: time 0.004302/0.4998, allocations: 1.6 MB / 1.043 GB, free: 12.92 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches