Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 393.5 MB / 408.4 MB, free: 10.8 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.001258/0.001258, allocations: 194.1 kB / 0.4902 GB, free: 2.051 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.725/1.725, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009042/0.0009043, allocations: 101.9 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004384, allocations: 11.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.312, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.5026, allocations: 149.6 MB / 1.375 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.503, allocations: 71.94 kB / 1.375 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00449/0.5075, allocations: 1.408 MB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5075, allocations: 0 / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.5075, allocations: 4 kB / 1.377 GB, free: 2.305 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007409/0.5083, allocations: 474.8 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5084, allocations: 12.52 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.5084, allocations: 11.81 kB / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5087, allocations: 207.6 kB / 1.377 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5087, allocations: 11.94 kB / 1.378 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.5087, allocations: 4 kB / 1.378 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.5092, allocations: 167.3 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5092, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5092, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.5093, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.5098, allocations: 211.8 kB / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.5108, allocations: 0.5173 MB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.5112, allocations: 181.1 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.5113, allocations: 0 / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.5113, allocations: 42.56 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.5113, allocations: 0 / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0009821/0.5123, allocations: 337.3 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.5124, allocations: 81.06 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.5125, allocations: 151.7 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.5126, allocations: 25.7 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.5127, allocations: 108 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.5127, allocations: 19.72 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.5127, allocations: 8 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5129, allocations: 322.8 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.5132, allocations: 95.92 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.5135, allocations: 105.6 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.5137, allocations: 103.9 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5138, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005864/0.5143, allocations: 233.8 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5144, allocations: 8 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5144, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.5144, allocations: 3.938 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.5147, allocations: 51.89 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5147, allocations: 7.953 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.5148, allocations: 35.89 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5149, allocations: 4 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.000127/0.515, allocations: 130.7 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.5151, allocations: 11.91 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.5151, allocations: 20.23 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5151, allocations: 0 / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5151, allocations: 0 / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5151, allocations: 3.953 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.5155, allocations: 229.5 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5155, allocations: 3.984 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.5157, allocations: 43.91 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5157, allocations: 4 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.5157, allocations: 4 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5157, allocations: 3.984 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5157, allocations: 0 / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.5164, allocations: 424.4 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.5165, allocations: 85.02 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.5165, allocations: 0 / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5167, allocations: 35.95 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.5168, allocations: 15.94 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.5168, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001189/0.517, allocations: 128.7 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.517, allocations: 0 / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002536/0.5172, allocations: 16 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.000175/0.5174, allocations: 115.9 kB / 1.381 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006011/0.518, allocations: 199.8 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.518, allocations: 0 / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.5183, allocations: 111.9 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.5186, allocations: 11.89 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.5192, allocations: 275.9 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.5195, allocations: 0.7199 MB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.148e-05/0.5196, allocations: 27.97 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.5197, allocations: 11.44 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5197, allocations: 0 / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of Templates: time 0.003313/0.523, allocations: 0.9368 MB / 1.384 GB, free: 10.89 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches