Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") [: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 10.0.0-master/package.mo): time 1.711/1.711, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.000896/0.000896, allocations: 183.5 kB / 490.8 MB, free: 1.922 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.069/1.069, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0007851/0.0007853, allocations: 90.55 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.068e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.6331, allocations: 148.6 MB / 1.357 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.6333, allocations: 70.36 kB / 1.357 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.004616/0.6379, allocations: 1.954 MB / 1.359 GB, free: 17.06 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.638, allocations: 7.141 kB / 1.359 GB, free: 17.06 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003381/0.6383, allocations: 449.4 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.6383, allocations: 9.312 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.6384, allocations: 23.31 kB / 1.359 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.6386, allocations: 268.2 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.6386, allocations: 7.578 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.6387, allocations: 14.47 kB / 1.359 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002902/0.639, allocations: 213.5 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.6393, allocations: 312.4 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6393, allocations: 1.25 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6393, allocations: 6.234 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.6393, allocations: 9.062 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.6404, allocations: 1.287 MB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.6405, allocations: 169.9 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.6405, allocations: 80.14 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.6405, allocations: 80.55 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.6406, allocations: 111.5 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.6406, allocations: 0 / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.563e-05/0.6406, allocations: 39.05 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.293e-05/0.6406, allocations: 52.62 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.6408, allocations: 232.2 kB / 1.362 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-06/0.6409, allocations: 26.61 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.6409, allocations: 170.3 kB / 1.362 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.6409, allocations: 0.9688 kB / 1.362 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6409, allocations: 0 / 1.362 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.641, allocations: 331.4 kB / 1.362 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.6411, allocations: 44.75 kB / 1.362 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.6412, allocations: 90.23 kB / 1.363 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.6412, allocations: 61.75 kB / 1.363 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6412, allocations: 1.938 kB / 1.363 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002184/0.6415, allocations: 159.9 kB / 1.363 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.6415, allocations: 11.78 kB / 1.363 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6415, allocations: 3.391 kB / 1.363 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6415, allocations: 6.531 kB / 1.363 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.6416, allocations: 22.36 kB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6416, allocations: 6.859 kB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.6417, allocations: 15.52 kB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.6417, allocations: 7.562 kB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.785e-05/0.6418, allocations: 186.1 kB / 1.363 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.6419, allocations: 115.2 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.6419, allocations: 123.7 kB / 1.363 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/0.642, allocations: 182.2 kB / 1.363 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.273e-05/0.642, allocations: 180.8 kB / 1.364 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/0.6421, allocations: 181.8 kB / 1.364 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.6423, allocations: 469.2 kB / 1.364 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-05/0.6424, allocations: 103.2 kB / 1.364 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.6424, allocations: 106.8 kB / 1.364 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.36e-05/0.6424, allocations: 181.9 kB / 1.365 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.6425, allocations: 177.9 kB / 1.365 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.317e-05/0.6426, allocations: 177 kB / 1.365 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-05/0.6426, allocations: 189.9 kB / 1.365 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001026/0.6427, allocations: 315.1 kB / 1.365 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.6428, allocations: 202.7 kB / 1.366 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.6429, allocations: 182.8 kB / 1.366 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.643, allocations: 106 kB / 1.366 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.643, allocations: 186.2 kB / 1.366 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.643, allocations: 103 kB / 1.366 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001353/0.6432, allocations: 188.8 kB / 1.366 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002293/0.6434, allocations: 41.19 kB / 1.366 GB, free: 26.6 MB / 0.8386 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.0001129/0.6435, allocations: 173.9 kB / 1.367 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.6436, allocations: 64.53 kB / 1.367 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.6436, allocations: 1 kB / 1.367 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6436, allocations: 3.562 kB / 1.367 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.644, allocations: 0.5307 MB / 1.367 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.6444, allocations: 332.5 kB / 1.367 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.6447, allocations: 0.8065 MB / 1.368 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.6447, allocations: 0 / 1.368 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.002707/0.6474, allocations: 1.012 MB / 1.369 GB, free: 24.91 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches