Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.386/2.386, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001243/0.001243, allocations: 186.8 kB / 0.4902 GB, free: 2.293 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.473/1.473, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009605/0.0009604, allocations: 108.2 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 13.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2737, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4538, allocations: 149.4 MB / 1.375 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.4541, allocations: 63.97 kB / 1.375 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005877/0.46, allocations: 2.365 MB / 1.378 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.46, allocations: 0 / 1.378 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.46, allocations: 8 kB / 1.378 GB, free: 1.625 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004764/0.4605, allocations: 470.9 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4605, allocations: 12.52 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.4606, allocations: 27.62 kB / 1.378 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.461, allocations: 270.5 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.461, allocations: 16.44 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.461, allocations: 16 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.4615, allocations: 350 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4615, allocations: 4 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.4616, allocations: 4 kB / 1.379 GB, free: 368 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4616, allocations: 8 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.4619, allocations: 235.7 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.4634, allocations: 1.5 MB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.4635, allocations: 165.1 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4635, allocations: 75.28 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4636, allocations: 105.8 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.4636, allocations: 4 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001064/0.4637, allocations: 61.2 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4638, allocations: 134.6 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.4643, allocations: 463.6 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4643, allocations: 25.7 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4644, allocations: 176 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.4644, allocations: 3.938 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.4644, allocations: 8 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4646, allocations: 338.8 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.4647, allocations: 47.97 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.4648, allocations: 94.83 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.589e-05/0.4649, allocations: 67.89 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4649, allocations: 0 / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000292/0.4652, allocations: 193.1 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4652, allocations: 8 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4652, allocations: 4.25 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4652, allocations: 4 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4653, allocations: 23.92 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4654, allocations: 4 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.4655, allocations: 35.64 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4655, allocations: 11.98 kB / 1.382 GB, free: 12.44 MB / 0.8855 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.0001647/0.4657, allocations: 253 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.4657, allocations: 124.7 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.4658, allocations: 150.6 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.674e-05/0.4659, allocations: 180.2 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-05/0.466, allocations: 176.3 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.277e-05/0.466, allocations: 184.2 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.4664, allocations: 0.4893 MB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/0.4664, allocations: 105 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.4665, allocations: 104.9 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.37e-05/0.4665, allocations: 176.3 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.4666, allocations: 184.2 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-05/0.4667, allocations: 180.2 kB / 1.385 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.864e-05/0.4668, allocations: 180.3 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.4669, allocations: 327.4 kB / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.4671, allocations: 233.6 kB / 1.385 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.4672, allocations: 184.2 kB / 1.385 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.4673, allocations: 105 kB / 1.386 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.4674, allocations: 188.2 kB / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.4674, allocations: 105 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003633/0.4678, allocations: 363 kB / 1.386 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.755e-06/0.4678, allocations: 0 / 1.386 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002789/0.4681, allocations: 27.94 kB / 1.386 GB, free: 8.27 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.0001842/0.4683, allocations: 179.3 kB / 1.386 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.4685, allocations: 76.23 kB / 1.386 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4685, allocations: 0 / 1.386 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.4685, allocations: 0 / 1.386 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4689, allocations: 0.5479 MB / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.4696, allocations: 0.4896 MB / 1.387 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.4699, allocations: 0.7791 MB / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.4701, allocations: 49.52 kB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.4701, allocations: 15.44 kB / 1.388 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.4701, allocations: 4 kB / 1.388 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of Templates: time 0.004466/0.4746, allocations: 1.597 MB / 1.39 GB, free: 4.477 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches