Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.816/1.816, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001058/0.001058, allocations: 188.6 kB / 487 MB, free: 5.387 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.136/1.136, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008209/0.0008209, allocations: 95.06 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.153e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1819, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6862, allocations: 148 MB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001381/0.6864, allocations: 68.72 kB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003422/0.6898, allocations: 1.107 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6898, allocations: 1.688 kB / 1.351 GB, free: 15.82 MB / 0.8073 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.0004399/0.6903, allocations: 449.8 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.6903, allocations: 9.25 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.6903, allocations: 13.16 kB / 1.351 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.6905, allocations: 214.3 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.6905, allocations: 0.7812 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.6905, allocations: 7.531 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001779/0.6907, allocations: 98.81 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.6908, allocations: 109.1 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.6908, allocations: 0 / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6909, allocations: 0 / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.6909, allocations: 1.219 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.6915, allocations: 0.5004 MB / 1.352 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.6917, allocations: 123 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.6918, allocations: 64.14 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.6918, allocations: 3.469 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.024e-05/0.6918, allocations: 31.69 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.6918, allocations: 0 / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0002363/0.6921, allocations: 138.8 kB / 1.353 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.524e-05/0.6921, allocations: 78.48 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.6922, allocations: 138.2 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6922, allocations: 26.73 kB / 1.353 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.6922, allocations: 100.2 kB / 1.353 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.6923, allocations: 24.08 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.6923, allocations: 0.9062 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.6923, allocations: 325.9 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.6924, allocations: 49.78 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.6925, allocations: 61.73 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.6925, allocations: 49.19 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6925, allocations: 0 / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001772/0.6927, allocations: 128 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.6927, allocations: 4.812 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6927, allocations: 4.766 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.6927, allocations: 1.062 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.693, allocations: 51.83 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.693, allocations: 0.9688 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.6931, allocations: 35.08 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.6932, allocations: 2.688 kB / 1.354 GB, free: 13.96 MB / 0.8073 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 () * 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 4.011e-05/0.6932, allocations: 109.4 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.6933, allocations: 12.47 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.6933, allocations: 18.5 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6933, allocations: 1.25 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6933, allocations: 1.25 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.6933, allocations: 0 / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.6935, allocations: 197.7 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6935, allocations: 0.6562 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.6937, allocations: 48.45 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6937, allocations: 1.344 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.6937, allocations: 1.156 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6938, allocations: 4 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6938, allocations: 7.875 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001981/0.694, allocations: 315.4 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.694, allocations: 93.89 kB / 1.354 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.694, allocations: 0.7812 kB / 1.354 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.6942, allocations: 34.64 kB / 1.354 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.6943, allocations: 11.05 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6943, allocations: 3.719 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.581e-05/0.6944, allocations: 117.9 kB / 1.355 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002457/0.6946, allocations: 18.94 kB / 1.355 GB, free: 13.25 MB / 0.8073 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 () * 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 8.921e-05/0.6947, allocations: 101.5 kB / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.6949, allocations: 106.4 kB / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.6949, allocations: 0 / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.695, allocations: 57.91 kB / 1.355 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.6952, allocations: 10.22 kB / 1.355 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.6955, allocations: 189.6 kB / 1.355 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.6958, allocations: 0.7245 MB / 1.356 GB, free: 28.35 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.6958, allocations: 0 / 1.356 GB, free: 28.35 MB / 0.823 GB Notification: Performance of Templates: time 0.003031/0.6989, allocations: 1.189 MB / 1.357 GB, free: 28.28 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches