Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.001188/0.001189, allocations: 181.2 kB / 316 MB, free: 3.547 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.502/1.502, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0009181/0.0009182, allocations: 82.27 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.815e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2004, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6343/0.8348, allocations: 132.2 MB / 1.014 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.8351, allocations: 78.06 kB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008015/0.8431, allocations: 1.737 MB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.8431, allocations: 4 kB / 1.015 GB, free: 4.973 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007988/0.844, allocations: 445.7 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.844, allocations: 8.031 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.8441, allocations: 15.8 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.8443, allocations: 200.2 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.8444, allocations: 4 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.8444, allocations: 4 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002758/0.8447, allocations: 85.53 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.8449, allocations: 110.5 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.845, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.845, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.845, allocations: 3.984 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.8458, allocations: 393 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.8465, allocations: 121 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.8466, allocations: 48.36 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.8466, allocations: 4 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.8466, allocations: 38.31 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.8466, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000306/0.847, allocations: 125.8 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.847, allocations: 59.39 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.8471, allocations: 127.6 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.8471, allocations: 25.7 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.8472, allocations: 98.84 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.8472, allocations: 27.5 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.8473, allocations: 0.75 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8474, allocations: 322.5 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.8475, allocations: 45.98 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.8475, allocations: 41.67 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/0.8476, allocations: 34.39 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8476, allocations: 4 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002191/0.8478, allocations: 125.5 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8479, allocations: 7.906 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8479, allocations: 0.625 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8479, allocations: 4 kB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.8482, allocations: 51.08 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8482, allocations: 0 / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.8484, allocations: 31.97 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.8484, allocations: 9.547 kB / 1.018 GB, free: 2.469 MB / 0.6355 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 8.848e-05/0.8485, allocations: 114.2 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.8486, allocations: 7.906 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.8486, allocations: 18.86 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8486, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8486, allocations: 4 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8487, allocations: 0 / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.8489, allocations: 210.2 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.8489, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.8492, allocations: 51.89 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8492, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.8493, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.8493, allocations: 8 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8493, allocations: 7.984 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002747/0.8496, allocations: 221.7 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.8496, allocations: 96.11 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.8497, allocations: 192 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.8499, allocations: 31.97 kB / 1.019 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.85, allocations: 37.58 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.85, allocations: 3.984 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.083e-05/0.8501, allocations: 108.4 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002492/0.8504, allocations: 23.98 kB / 1.019 GB, free: 1.551 MB / 0.6355 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 0.0001677/0.8505, allocations: 103.2 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.8508, allocations: 92.59 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8508, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.8509, allocations: 67.97 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.8511, allocations: 11.91 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.8516, allocations: 166 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.852, allocations: 0.7377 MB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.852, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of Templates: time 0.004621/0.8567, allocations: 2.125 MB / 1.022 GB, free: 14.3 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches