Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, 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.0009915/0.0009916, allocations: 173.3 kB / 487 MB, free: 5.395 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008782/0.0008782, allocations: 94.56 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.244e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1946, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.7161, allocations: 147.8 MB / 1.35 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.7163, allocations: 70.08 kB / 1.35 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004636/0.721, allocations: 1.957 MB / 1.352 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.721, allocations: 8.406 kB / 1.352 GB, free: 15.37 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003102/0.7213, allocations: 450.8 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7214, allocations: 9.875 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.7214, allocations: 23.53 kB / 1.352 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.7217, allocations: 268.5 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.7217, allocations: 6.469 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.7218, allocations: 10.97 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002978/0.7221, allocations: 221.9 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.7224, allocations: 315.9 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.7224, allocations: 1 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.7225, allocations: 1.094 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.7225, allocations: 5.812 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009647/0.7234, allocations: 1.282 MB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.7235, allocations: 170.1 kB / 1.354 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.7235, allocations: 81.88 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7235, allocations: 75.28 kB / 1.354 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.7236, allocations: 107.5 kB / 1.354 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7236, allocations: 0 / 1.354 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 8.966e-05/0.7237, allocations: 43.33 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.373e-05/0.7237, allocations: 56.84 kB / 1.355 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.7239, allocations: 231.1 kB / 1.355 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.7239, allocations: 27.05 kB / 1.355 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.724, allocations: 166.3 kB / 1.355 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.724, allocations: 5.172 kB / 1.355 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.724, allocations: 0 / 1.355 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.724, allocations: 325.5 kB / 1.355 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.7241, allocations: 46.52 kB / 1.355 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.7242, allocations: 92.58 kB / 1.355 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.61e-05/0.7243, allocations: 58.75 kB / 1.356 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7243, allocations: 4.781 kB / 1.356 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002595/0.7245, allocations: 162.5 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7246, allocations: 8.547 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7246, allocations: 4.969 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7246, allocations: 3.375 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.7247, allocations: 18.36 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.7247, allocations: 2.578 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.7248, allocations: 16.47 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.7248, allocations: 11.44 kB / 1.356 GB, free: 12.46 MB / 0.8073 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 5.055e-05/0.7249, allocations: 189.4 kB / 1.356 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.7249, allocations: 110 kB / 1.356 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.725, allocations: 127.6 kB / 1.356 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.725, allocations: 185.7 kB / 1.356 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.725, allocations: 184.5 kB / 1.356 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.725, allocations: 181.1 kB / 1.357 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.7252, allocations: 462.2 kB / 1.357 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.7253, allocations: 102.2 kB / 1.357 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.7253, allocations: 107.4 kB / 1.357 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/0.7253, allocations: 181.8 kB / 1.357 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.7253, allocations: 181.6 kB / 1.358 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-05/0.7254, allocations: 181 kB / 1.358 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-05/0.7254, allocations: 182.2 kB / 1.358 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.847e-05/0.7255, allocations: 310.6 kB / 1.358 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.7255, allocations: 215.2 kB / 1.358 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.7256, allocations: 179.3 kB / 1.359 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.7257, allocations: 106.4 kB / 1.359 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.7257, allocations: 181.9 kB / 1.359 GB, free: 25.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.7257, allocations: 102.6 kB / 1.359 GB, free: 25.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001518/0.7259, allocations: 184 kB / 1.359 GB, free: 24.95 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002438/0.7261, allocations: 41.44 kB / 1.359 GB, free: 24.93 MB / 0.823 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.0001413/0.7263, allocations: 179.5 kB / 1.359 GB, free: 24.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.7264, allocations: 60.8 kB / 1.359 GB, free: 24.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7264, allocations: 0 / 1.359 GB, free: 24.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.7264, allocations: 0.9688 kB / 1.359 GB, free: 24.76 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.7268, allocations: 0.5382 MB / 1.36 GB, free: 24.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.7273, allocations: 328.2 kB / 1.36 GB, free: 24.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.7278, allocations: 0.7946 MB / 1.361 GB, free: 23.35 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7278, allocations: 0 / 1.361 GB, free: 23.35 MB / 0.823 GB Notification: Performance of Templates: time 0.003201/0.731, allocations: 1.009 MB / 1.362 GB, free: 23.26 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches