Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001039, allocations: 185.2 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 93.11 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.014e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.674/0.9102, allocations: 131.7 MB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.9105, allocations: 70.52 kB / 1.013 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004269/0.9148, allocations: 1.144 MB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.9148, allocations: 0 / 1.014 GB, free: 5.957 MB / 0.6355 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.0006929/0.9155, allocations: 455.1 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9155, allocations: 8.031 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.9156, allocations: 15.81 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.9158, allocations: 209.1 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.9159, allocations: 4 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.9159, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002199/0.9161, allocations: 99.44 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.9163, allocations: 116.9 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.9163, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.9163, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.9164, allocations: 3.984 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008718/0.9172, allocations: 0.4929 MB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.9175, allocations: 127.8 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.9176, allocations: 63.42 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.9176, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.9176, allocations: 34.55 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.9176, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003072/0.9179, allocations: 138.9 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.918, allocations: 77.11 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.9181, allocations: 150.6 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.9182, allocations: 25.7 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.9182, allocations: 94.94 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.9183, allocations: 30.98 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.9183, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9184, allocations: 321.4 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.9185, allocations: 41.61 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.9186, allocations: 51.89 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.9186, allocations: 54.78 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9186, allocations: 0 / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002002/0.9189, allocations: 138.3 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.9189, allocations: 4 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.9189, allocations: 0 / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9189, allocations: 0 / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.9191, allocations: 47.95 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.9192, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.9193, allocations: 43.81 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.9193, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 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 9.073e-05/0.9194, allocations: 105 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.9195, allocations: 11.84 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.9196, allocations: 22.73 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9196, allocations: 9.344 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9196, allocations: 7.938 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9196, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.9199, allocations: 191.4 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9199, allocations: 3.984 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.9201, allocations: 43.97 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9201, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.9201, allocations: 3.906 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9201, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9201, allocations: 4 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002827/0.9204, allocations: 318.5 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.9205, allocations: 88.95 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.9205, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.9207, allocations: 35.91 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.9208, allocations: 14.83 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.9208, allocations: 4 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.23e-05/0.9209, allocations: 121.1 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002873/0.9212, allocations: 12 kB / 1.018 GB, free: 2.164 MB / 0.6355 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 0.0001735/0.9214, allocations: 101.7 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.9216, allocations: 99.12 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.9216, allocations: 11.94 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.9217, allocations: 50.42 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.922, allocations: 7.984 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.9225, allocations: 190.3 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.9229, allocations: 0.7272 MB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.9229, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of Templates: time 0.003608/0.9265, allocations: 1.194 MB / 1.02 GB, free: 15.81 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches