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.MatrixMax.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.001104/0.001104, allocations: 189.2 kB / 316 MB, free: 3.559 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.394/1.394, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.001047/0.001047, allocations: 86.2 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.095e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7055/0.9395, allocations: 131.4 MB / 1.013 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.9398, allocations: 73.02 kB / 1.013 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005614/0.9454, allocations: 1.96 MB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.9455, allocations: 10.52 kB / 1.015 GB, free: 5.734 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004743/0.946, allocations: 448.9 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.946, allocations: 8.031 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.9461, allocations: 26.16 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.9465, allocations: 272.7 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.9465, allocations: 4 kB / 1.016 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.9465, allocations: 15.94 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003167/0.9469, allocations: 209.6 kB / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.9473, allocations: 311.7 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.9473, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.9473, allocations: 3.984 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.9473, allocations: 8 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.9487, allocations: 1.289 MB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.9488, allocations: 169.1 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.9489, allocations: 82.58 kB / 1.018 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.9489, allocations: 75.28 kB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.949, allocations: 108.8 kB / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.949, allocations: 0 / 1.018 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.924e-05/0.9491, allocations: 41.52 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.9492, allocations: 59.34 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.9494, allocations: 234.9 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.9495, allocations: 25.7 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.9496, allocations: 166.8 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.9496, allocations: 0 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.9496, allocations: 0 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9497, allocations: 322.7 kB / 1.019 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.9498, allocations: 50.34 kB / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.9499, allocations: 88.97 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.46e-05/0.95, allocations: 58.02 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.95, allocations: 4 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.9503, allocations: 161.7 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9503, allocations: 11.94 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9503, allocations: 0 / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9503, allocations: 4 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.9505, allocations: 23.92 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.9505, allocations: 0 / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.9506, allocations: 20.11 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.9506, allocations: 12 kB / 1.019 GB, free: 1.492 MB / 0.6355 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 9.558e-05/0.9507, allocations: 183.2 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.9508, allocations: 124.1 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.9509, allocations: 117.5 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.9509, allocations: 183.3 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.956e-05/0.951, allocations: 180.2 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.145e-05/0.9511, allocations: 184.2 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.9514, allocations: 458.1 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.76e-05/0.9514, allocations: 108.8 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.9515, allocations: 104.8 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.148e-05/0.9516, allocations: 180.2 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.9516, allocations: 192.2 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.737e-05/0.9517, allocations: 180.3 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.081e-05/0.9518, allocations: 176.3 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001412/0.9519, allocations: 320.1 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.952, allocations: 194 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.9521, allocations: 188.1 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.9522, allocations: 112.8 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.9523, allocations: 176.3 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.9524, allocations: 104.9 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001459/0.9525, allocations: 187.5 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002842/0.9528, allocations: 43.69 kB / 1.023 GB, free: 13.74 MB / 0.6511 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.0001851/0.953, allocations: 174.5 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.9532, allocations: 65.7 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9532, allocations: 0 / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.9532, allocations: 0 / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.9537, allocations: 0.5346 MB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.9542, allocations: 338.4 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.9547, allocations: 0.7944 MB / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9547, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.003407/0.9581, allocations: 1.015 MB / 1.025 GB, free: 10.82 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches