Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") [: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.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001002/0.001002, allocations: 185.2 kB / 487 MB, free: 5.301 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.305 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.0008048/0.0008048, allocations: 102 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.765e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1785, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5225/0.701, allocations: 147.8 MB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.7012, allocations: 65.5 kB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004978/0.7062, allocations: 2.024 MB / 1.352 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.7063, allocations: 5.469 kB / 1.352 GB, free: 15.65 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003341/0.7066, allocations: 446.9 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.7066, allocations: 10.33 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.7067, allocations: 28 kB / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.707, allocations: 257 kB / 1.352 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.707, allocations: 7.875 kB / 1.352 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.707, allocations: 23.25 kB / 1.352 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003077/0.7073, allocations: 212.2 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.7077, allocations: 316.4 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7077, allocations: 0 / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.7077, allocations: 3.906 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.7078, allocations: 11.39 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.7088, allocations: 1.368 MB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/0.7088, allocations: 170.7 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.7089, allocations: 84.14 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.7089, allocations: 79.94 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.7089, allocations: 110.9 kB / 1.355 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 2.905e-06/0.7089, allocations: 0 / 1.355 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.281e-05/0.709, allocations: 39.78 kB / 1.355 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.468e-05/0.709, allocations: 52.19 kB / 1.355 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.7092, allocations: 238 kB / 1.355 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.7093, allocations: 30.45 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.7093, allocations: 166.1 kB / 1.355 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.7093, allocations: 2.406 kB / 1.355 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.7093, allocations: 3.938 kB / 1.355 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.7094, allocations: 326.8 kB / 1.355 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.7095, allocations: 48.16 kB / 1.356 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.7096, allocations: 98.28 kB / 1.356 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.701e-05/0.7096, allocations: 60.47 kB / 1.356 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7097, allocations: 0 / 1.356 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002636/0.7099, allocations: 170.7 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7099, allocations: 5.875 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.71, allocations: 1.75 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.71, allocations: 3.031 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.7101, allocations: 23.8 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7101, allocations: 6.5 kB / 1.356 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.7102, allocations: 17.33 kB / 1.356 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.7102, allocations: 7.25 kB / 1.356 GB, free: 12.63 MB / 0.8073 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 () * 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 5.942e-05/0.7103, allocations: 193 kB / 1.356 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.7103, allocations: 112.8 kB / 1.356 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.7104, allocations: 118.6 kB / 1.356 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.7104, allocations: 186.4 kB / 1.356 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.7104, allocations: 188 kB / 1.357 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.7105, allocations: 183.2 kB / 1.357 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.7107, allocations: 460.7 kB / 1.357 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.7107, allocations: 105.7 kB / 1.357 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.7107, allocations: 102.8 kB / 1.357 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/0.7108, allocations: 186.1 kB / 1.358 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.7108, allocations: 177.5 kB / 1.358 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.403e-05/0.7108, allocations: 183.3 kB / 1.358 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.588e-05/0.7108, allocations: 181.7 kB / 1.358 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.349e-05/0.7109, allocations: 311.1 kB / 1.358 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.711, allocations: 207 kB / 1.359 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.711, allocations: 183.1 kB / 1.359 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.7111, allocations: 104.8 kB / 1.359 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.7112, allocations: 182.6 kB / 1.359 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.7112, allocations: 102.5 kB / 1.359 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001499/0.7113, allocations: 184.8 kB / 1.359 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002545/0.7116, allocations: 37.62 kB / 1.359 GB, free: 9.113 MB / 0.8073 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 () * 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.0001692/0.7118, allocations: 180.3 kB / 1.36 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.7119, allocations: 65.95 kB / 1.36 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7119, allocations: 0 / 1.36 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.7119, allocations: 0.875 kB / 1.36 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.7123, allocations: 0.5375 MB / 1.36 GB, free: 24.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.7129, allocations: 335.4 kB / 1.361 GB, free: 24.22 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.7133, allocations: 0.7965 MB / 1.361 GB, free: 23.52 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7133, allocations: 0.8438 kB / 1.361 GB, free: 23.52 MB / 0.823 GB Notification: Performance of Templates: time 0.003657/0.7169, allocations: 0.988 MB / 1.362 GB, free: 23.43 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches