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.55/1.55, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 180.9 kB / 316.3 MB, free: 3.234 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.7/1.7, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008958/0.0008957, allocations: 90.42 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.221e-05, allocations: 11.98 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.192, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6438/0.8359, allocations: 131.4 MB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.8361, allocations: 71.14 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005381/0.8415, allocations: 2.3 MB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8415, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.8416, allocations: 6.734 kB / 1.016 GB, free: 4.207 MB / 0.6355 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.0004129/0.842, allocations: 445.8 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.842, allocations: 12.03 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.8421, allocations: 23.72 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.8424, allocations: 274.5 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.8424, allocations: 8 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.8424, allocations: 15.98 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002945/0.8427, allocations: 209.7 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.8431, allocations: 306.8 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8431, allocations: 0 / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.8432, allocations: 8 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.8432, allocations: 4.75 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.8444, allocations: 1.288 MB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.8445, allocations: 171.6 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.8445, allocations: 80.14 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.8445, allocations: 79.28 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.8446, allocations: 105.8 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.8446, allocations: 4 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.77e-05/0.8447, allocations: 45.44 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.8447, allocations: 55.34 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.8449, allocations: 231.3 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.845, allocations: 29.7 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8451, allocations: 178.7 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.8451, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.8451, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8452, allocations: 330.3 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.8453, allocations: 47.64 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.8454, allocations: 89.42 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.8454, allocations: 59.58 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8455, allocations: 0 / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002347/0.8457, allocations: 168.7 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8457, allocations: 8 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8457, allocations: 3.938 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8458, allocations: 4 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.8459, allocations: 24.3 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8459, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.846, allocations: 12 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.846, allocations: 8 kB / 1.02 GB, free: 15.97 MB / 0.6511 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 () * 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 9e-05/0.8461, allocations: 188.3 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.8461, allocations: 120.7 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.8462, allocations: 119.8 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/0.8463, allocations: 180.2 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.501e-05/0.8463, allocations: 180.2 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/0.8464, allocations: 176.3 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.8467, allocations: 468.4 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/0.8467, allocations: 105.3 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.8468, allocations: 109 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.8468, allocations: 176.3 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.8469, allocations: 184.1 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-05/0.847, allocations: 180.3 kB / 1.022 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.847e-05/0.847, allocations: 180.3 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.8472, allocations: 311.7 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.8473, allocations: 205.8 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.8474, allocations: 184.2 kB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.8475, allocations: 113 kB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.8475, allocations: 176.3 kB / 1.023 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.8476, allocations: 104.9 kB / 1.023 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001376/0.8477, allocations: 186.4 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8477, allocations: 0 / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002634/0.848, allocations: 35.78 kB / 1.024 GB, free: 12.22 MB / 0.6511 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 (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.0001607/0.8482, allocations: 182.3 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.8484, allocations: 68.47 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8484, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.8484, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.8488, allocations: 0.5307 MB / 1.024 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.8492, allocations: 337.2 kB / 1.025 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.8496, allocations: 0.7855 MB / 1.025 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.076e-05/0.8497, allocations: 28.41 kB / 1.025 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.8497, allocations: 11.44 kB / 1.025 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of SimCode: time 2.474e-06/0.8497, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.00282/0.8526, allocations: 0.802 MB / 1.026 GB, free: 9.48 MB / 0.6511 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