Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [: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.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.00089/0.00089, allocations: 169.3 kB / 490.8 MB, free: 1.934 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.058/1.058, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0007885/0.0007885, allocations: 89.75 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.342e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.164, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.6102, allocations: 149.2 MB / 1.357 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001625/0.6104, allocations: 68.69 kB / 1.357 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005633/0.6161, allocations: 1.724 MB / 1.359 GB, free: 17.35 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.6161, allocations: 2.344 kB / 1.359 GB, free: 17.35 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005555/0.6167, allocations: 436.2 kB / 1.359 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.6167, allocations: 10.34 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.6167, allocations: 13.41 kB / 1.36 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.6169, allocations: 206.1 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6169, allocations: 7.344 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.6169, allocations: 4.281 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001659/0.6171, allocations: 81.03 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.6173, allocations: 106.8 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6173, allocations: 0 / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6173, allocations: 0 / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.6173, allocations: 2.812 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.6178, allocations: 391.9 kB / 1.36 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.6184, allocations: 134.3 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.6185, allocations: 46.05 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.6185, allocations: 9.031 kB / 1.36 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.908e-06/0.6185, allocations: 35.5 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.6185, allocations: 0 / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002624/0.6188, allocations: 124.1 kB / 1.361 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.427e-05/0.6188, allocations: 53.33 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.619, allocations: 135 kB / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.619, allocations: 25.7 kB / 1.361 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.619, allocations: 94.88 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.619, allocations: 32.27 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.6191, allocations: 0 / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.6191, allocations: 325.9 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.6192, allocations: 33.28 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.6193, allocations: 37.5 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.6193, allocations: 40.56 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6193, allocations: 0 / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.6195, allocations: 132.3 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.6196, allocations: 4.938 kB / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.6196, allocations: 0 / 1.361 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.6196, allocations: 5.594 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.6199, allocations: 48.28 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.788e-06/0.6199, allocations: 4.969 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.62, allocations: 32.08 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6201, allocations: 7.328 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.018e-05/0.6201, allocations: 107.8 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.6202, allocations: 8.5 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.6202, allocations: 17.05 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6202, allocations: 4.906 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6202, allocations: 1.031 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.6202, allocations: 0 / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.6204, allocations: 203.4 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6204, allocations: 0 / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.6206, allocations: 49.77 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6207, allocations: 4.875 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.6207, allocations: 9.656 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6207, allocations: 5.031 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6207, allocations: 0 / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002154/0.6209, allocations: 223.5 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.6209, allocations: 93.56 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.621, allocations: 0 / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.6212, allocations: 32.48 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.6213, allocations: 31.41 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.6213, allocations: 4.734 kB / 1.362 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.747e-05/0.6214, allocations: 109 kB / 1.362 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000235/0.6216, allocations: 30.41 kB / 1.362 GB, free: 31.02 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.922e-05/0.6217, allocations: 106.3 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.6219, allocations: 95.52 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.6219, allocations: 1 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.622, allocations: 61.31 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.6222, allocations: 10.83 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.6226, allocations: 175 kB / 1.363 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.6228, allocations: 0.7294 MB / 1.364 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.6229, allocations: 0 / 1.364 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.003853/0.6267, allocations: 2.125 MB / 1.366 GB, free: 30.02 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches