Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") [: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.808/1.808, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00104/0.00104, allocations: 169.2 kB / 487 MB, free: 5.379 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.132/1.132, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008559/0.000856, allocations: 108.7 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/8.015e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1798, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6843, allocations: 148 MB / 1.35 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.6845, allocations: 67.22 kB / 1.35 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001896/0.6864, allocations: 0.5135 MB / 1.35 GB, free: 16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6864, allocations: 1.281 kB / 1.35 GB, free: 16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003142/0.6868, allocations: 366.5 kB / 1.351 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6868, allocations: 9.062 kB / 1.351 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.6868, allocations: 6.594 kB / 1.351 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.6869, allocations: 170.5 kB / 1.351 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.687, allocations: 4 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.687, allocations: 2.656 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.634e-05/0.6871, allocations: 16.84 kB / 1.351 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.481e-05/0.6871, allocations: 39.97 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6871, allocations: 0 / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.6872, allocations: 1.062 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6872, allocations: 0 / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.6876, allocations: 299.8 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.6876, allocations: 30.86 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.6877, allocations: 13.7 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.6877, allocations: 1.156 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.6877, allocations: 36.48 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6877, allocations: 0 / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001346/0.6878, allocations: 54.11 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.32e-05/0.6879, allocations: 56.47 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.6879, allocations: 104.1 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.6879, allocations: 25.7 kB / 1.352 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.688, allocations: 81.45 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.688, allocations: 13.81 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.688, allocations: 0 / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.688, allocations: 313.9 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.6881, allocations: 9.344 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.6881, allocations: 12.06 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.6881, allocations: 9.484 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6881, allocations: 1.531 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.374e-05/0.6882, allocations: 52.3 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.6882, allocations: 6.656 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6882, allocations: 1.406 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.6882, allocations: 0 / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.6884, allocations: 27.23 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.6884, allocations: 4.5 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.6885, allocations: 22.06 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.6885, allocations: 1.375 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 3.637e-05/0.6885, allocations: 102.6 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.6886, allocations: 6.656 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.6886, allocations: 5.375 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6886, allocations: 3.938 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6886, allocations: 1.547 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6886, allocations: 2.688 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.6887, allocations: 147.4 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.6887, allocations: 1.359 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.6888, allocations: 24.59 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6888, allocations: 0 / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.6888, allocations: 2.531 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6889, allocations: 2.875 kB / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6889, allocations: 0 / 1.352 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.913e-05/0.689, allocations: 153.7 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.689, allocations: 82.05 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.689, allocations: 5.156 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.6891, allocations: 21.86 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.6892, allocations: 8.734 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.6892, allocations: 1.375 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.256e-05/0.6892, allocations: 83.94 kB / 1.353 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001978/0.6894, allocations: 10.16 kB / 1.353 GB, free: 13.8 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 (3): * Single equations (assignments): 3 * 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 9.222e-05/0.6895, allocations: 98.81 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.579e-05/0.6896, allocations: 22.58 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6896, allocations: 4 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.6896, allocations: 11.94 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.6898, allocations: 4.438 kB / 1.353 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.69, allocations: 79.94 kB / 1.353 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6901, allocations: 0.692 MB / 1.354 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.6901, allocations: 0 / 1.354 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of Templates: time 0.002104/0.6922, allocations: 0.619 MB / 1.354 GB, free: 12.88 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches