Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001445/0.001445, allocations: 183.9 kB / 0.4902 GB, free: 2.242 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.516/1.516, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.000932/0.0009319, allocations: 104.8 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 13.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2835, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.4641, allocations: 149.4 MB / 1.375 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.4645, allocations: 63.97 kB / 1.375 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006494/0.4711, allocations: 2.307 MB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4711, allocations: 0 / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.4712, allocations: 4 kB / 1.377 GB, free: 1.746 MB / 0.8698 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.000574/0.4717, allocations: 470.9 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4718, allocations: 8.562 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.4719, allocations: 23.72 kB / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.4723, allocations: 266.5 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4723, allocations: 20.38 kB / 1.378 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.4724, allocations: 20 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.4729, allocations: 333.2 kB / 1.379 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4729, allocations: 3.938 kB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.473, allocations: 15.98 kB / 1.379 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.473, allocations: 8 kB / 1.379 GB, free: 496 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.4733, allocations: 235.8 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.4748, allocations: 1.407 MB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.4749, allocations: 169.1 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.475, allocations: 79.28 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.475, allocations: 113.8 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.475, allocations: 0 / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.4752, allocations: 53.41 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.4752, allocations: 130.6 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004904/0.4757, allocations: 467.5 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.4757, allocations: 25.7 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4758, allocations: 171.8 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.4759, allocations: 0 / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.4759, allocations: 7.938 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.476, allocations: 334.8 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.4761, allocations: 47.97 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.4762, allocations: 93.91 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.4763, allocations: 59.95 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4763, allocations: 0 / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002902/0.4766, allocations: 177.2 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4766, allocations: 16.2 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4766, allocations: 0 / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4766, allocations: 4 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4767, allocations: 23.92 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4768, allocations: 0 / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4769, allocations: 43.64 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.4769, allocations: 11.94 kB / 1.382 GB, free: 12.7 MB / 0.8855 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.0001515/0.477, allocations: 249.1 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.4771, allocations: 136.6 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.4772, allocations: 138.7 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.955e-05/0.4773, allocations: 180.2 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/0.4774, allocations: 184.3 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.933e-05/0.4774, allocations: 176.3 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.4777, allocations: 497 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.4778, allocations: 109 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.4778, allocations: 104.9 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-05/0.4779, allocations: 180.3 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.478, allocations: 180.3 kB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.876e-05/0.478, allocations: 180.2 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.849e-05/0.4781, allocations: 180.3 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.4783, allocations: 335.4 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4785, allocations: 225.7 kB / 1.385 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.4786, allocations: 184.2 kB / 1.385 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4787, allocations: 109 kB / 1.385 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.4788, allocations: 188.2 kB / 1.386 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.4788, allocations: 101 kB / 1.386 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003549/0.4792, allocations: 363 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4792, allocations: 0 / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002727/0.4794, allocations: 24 kB / 1.386 GB, free: 8.535 MB / 0.8855 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.000186/0.4796, allocations: 184 kB / 1.386 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.4798, allocations: 68.23 kB / 1.386 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4798, allocations: 0 / 1.386 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.4798, allocations: 3.938 kB / 1.386 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4802, allocations: 0.5507 MB / 1.387 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.4809, allocations: 493.3 kB / 1.387 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.4812, allocations: 0.7791 MB / 1.388 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.4813, allocations: 45.53 kB / 1.388 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.4814, allocations: 19.44 kB / 1.388 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.4814, allocations: 0 / 1.388 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of Templates: time 0.004175/0.4856, allocations: 1.596 MB / 1.39 GB, free: 4.75 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches