Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 180.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.3 MB / 0.7872 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.000894, allocations: 87.22 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.848e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2942, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.311, allocations: 148.6 MB / 1.357 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.311, allocations: 76.27 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005937/1.317, allocations: 2.311 MB / 1.36 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.317, allocations: 0 / 1.36 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.459e-05/1.317, allocations: 7.594 kB / 1.36 GB, free: 34.6 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003286/1.318, allocations: 442.2 kB / 1.36 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.318, allocations: 12.97 kB / 1.36 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/1.318, allocations: 23.22 kB / 1.36 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/1.318, allocations: 271.5 kB / 1.361 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.318, allocations: 18.41 kB / 1.361 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/1.318, allocations: 17.38 kB / 1.361 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/1.319, allocations: 335.4 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.319, allocations: 7.875 kB / 1.361 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/1.319, allocations: 13.59 kB / 1.361 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.319, allocations: 3.781 kB / 1.361 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/1.319, allocations: 233.8 kB / 1.361 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.32, allocations: 1.411 MB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.307e-05/1.32, allocations: 169.4 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/1.32, allocations: 82.2 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/1.32, allocations: 75.28 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.32, allocations: 120.8 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.32, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.733e-05/1.32, allocations: 48.98 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/1.32, allocations: 126.7 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/1.321, allocations: 465.5 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/1.321, allocations: 29.58 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.321, allocations: 169.9 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/1.321, allocations: 7.562 kB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/1.321, allocations: 0 / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.321, allocations: 339.7 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/1.321, allocations: 44.08 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/1.321, allocations: 96.42 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/1.321, allocations: 57.5 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.321, allocations: 0 / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002462/1.322, allocations: 189.2 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.322, allocations: 3.875 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.322, allocations: 3.875 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.322, allocations: 0 / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.322, allocations: 22.75 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.322, allocations: 7.844 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/1.322, allocations: 34.59 kB / 1.365 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.322, allocations: 11.48 kB / 1.365 GB, free: 31.53 MB / 0.8386 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.419e-05/1.322, allocations: 182.1 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/1.322, allocations: 141.8 kB / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/1.322, allocations: 134.9 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.161e-05/1.322, allocations: 180.2 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-05/1.322, allocations: 178.4 kB / 1.365 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-05/1.322, allocations: 184 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/1.323, allocations: 0.4914 MB / 1.366 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.684e-05/1.323, allocations: 101 kB / 1.366 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/1.323, allocations: 110.5 kB / 1.366 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-05/1.323, allocations: 176.3 kB / 1.366 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/1.323, allocations: 176.3 kB / 1.367 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-05/1.323, allocations: 185.1 kB / 1.367 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.596e-05/1.323, allocations: 186.1 kB / 1.367 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/1.323, allocations: 332.2 kB / 1.367 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/1.323, allocations: 223.6 kB / 1.367 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/1.323, allocations: 181.8 kB / 1.368 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.324, allocations: 110.4 kB / 1.368 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/1.324, allocations: 187.9 kB / 1.368 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/1.324, allocations: 101.9 kB / 1.368 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003397/1.324, allocations: 358.9 kB / 1.368 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.324, allocations: 0 / 1.368 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002774/1.324, allocations: 22.72 kB / 1.368 GB, free: 27.95 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 () * 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.0001793/1.325, allocations: 180.5 kB / 1.368 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001488/1.325, allocations: 67.91 kB / 1.369 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.325, allocations: 0 / 1.369 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/1.325, allocations: 3.938 kB / 1.369 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/1.325, allocations: 0.5434 MB / 1.369 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/1.326, allocations: 381.1 kB / 1.369 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.326, allocations: 0.7802 MB / 1.37 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.297e-05/1.326, allocations: 45.97 kB / 1.37 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/1.326, allocations: 19.06 kB / 1.37 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of SimCode: time 1.102e-06/1.326, allocations: 0 / 1.37 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of Templates: time 0.003887/1.33, allocations: 1.618 MB / 1.372 GB, free: 26.23 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches