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.432/1.432, allocations: 249.3 MB / 261.9 MB, free: 5.879 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.001008/0.001008, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009753/0.0009752, allocations: 98.41 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.587e-05, allocations: 8 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2239, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7414/0.9654, allocations: 131.1 MB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.9657, allocations: 70.08 kB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005673/0.9714, allocations: 2.311 MB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9714, allocations: 0 / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.9714, allocations: 10.73 kB / 1.022 GB, free: 1.457 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.0004165/0.9718, allocations: 444.7 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9719, allocations: 12.03 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.972, allocations: 23.66 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.9723, allocations: 273.9 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.9723, allocations: 15.31 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.9724, allocations: 15.38 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.9729, allocations: 343.6 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.9729, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.9729, allocations: 10.62 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.9729, allocations: 4 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.9732, allocations: 230.9 kB / 1.024 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.9746, allocations: 1.421 MB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.9747, allocations: 169.1 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.9747, allocations: 84.08 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.9748, allocations: 75.28 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.9748, allocations: 106.2 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9748, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.9749, allocations: 56.78 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.975, allocations: 126.7 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.9755, allocations: 464.2 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.9755, allocations: 29.64 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.9756, allocations: 166.4 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.9756, allocations: 0 / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.9756, allocations: 7.5 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9758, allocations: 344.9 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.9758, allocations: 50.83 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.9759, allocations: 88.78 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.976, allocations: 58.7 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.976, allocations: 0 / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002798/0.9763, allocations: 189.2 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9763, allocations: 6.188 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.9764, allocations: 7.938 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/0.9764, allocations: 4.219 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9765, allocations: 19.98 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9765, allocations: 4 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.9766, allocations: 35.59 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.9767, allocations: 15.94 kB / 1.027 GB, free: 12.79 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 8.59e-05/0.9767, allocations: 183.8 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.9768, allocations: 124.7 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.9769, allocations: 134.2 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/0.977, allocations: 184.2 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-05/0.977, allocations: 184.3 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.263e-05/0.9771, allocations: 184.2 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.9774, allocations: 492.4 kB / 1.028 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/0.9774, allocations: 108.9 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.9775, allocations: 105 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.912e-05/0.9775, allocations: 180.3 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.9776, allocations: 180.2 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.825e-05/0.9777, allocations: 176.3 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-05/0.9777, allocations: 184.2 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.9779, allocations: 331.1 kB / 1.03 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.978, allocations: 233 kB / 1.03 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/0.9781, allocations: 180.3 kB / 1.03 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.9782, allocations: 112.9 kB / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.9783, allocations: 176.3 kB / 1.03 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.9783, allocations: 109.9 kB / 1.03 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003331/0.9787, allocations: 363.8 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9787, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002402/0.9789, allocations: 24 kB / 1.031 GB, free: 8.809 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.0001624/0.9791, allocations: 178.5 kB / 1.031 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.9792, allocations: 62.16 kB / 1.031 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9792, allocations: 4.125 kB / 1.031 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.9793, allocations: 4 kB / 1.031 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.9797, allocations: 0.5469 MB / 1.031 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.9802, allocations: 382.7 kB / 1.032 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.9805, allocations: 0.7821 MB / 1.033 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.393e-05/0.9806, allocations: 45.53 kB / 1.033 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.9807, allocations: 23.42 kB / 1.033 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9807, allocations: 0 / 1.033 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of Templates: time 0.003991/0.9847, allocations: 1.604 MB / 1.034 GB, free: 5.191 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