Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009621/0.0009621, allocations: 181.3 kB / 487 MB, free: 5.359 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.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008365/0.0008365, allocations: 97.98 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.843e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1859, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.6943, allocations: 148.4 MB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001585/0.6945, allocations: 70.5 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005603/0.7001, allocations: 1.712 MB / 1.352 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.7002, allocations: 2.344 kB / 1.352 GB, free: 15.74 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005243/0.7007, allocations: 440.4 kB / 1.352 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.7007, allocations: 12.69 kB / 1.352 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.7008, allocations: 10.81 kB / 1.352 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.7009, allocations: 208.7 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.7009, allocations: 2.5 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.701, allocations: 5.469 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001683/0.7011, allocations: 80.67 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.7013, allocations: 108.6 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.7013, allocations: 5 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.7013, allocations: 1.688 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7014, allocations: 2.219 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.7019, allocations: 381.8 kB / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.7024, allocations: 132.1 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.7025, allocations: 50.56 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.7025, allocations: 1.094 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-06/0.7026, allocations: 36 kB / 1.353 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.7026, allocations: 0 / 1.353 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002653/0.7028, allocations: 127.3 kB / 1.353 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.294e-05/0.7028, allocations: 52.69 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.7029, allocations: 137 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.703, allocations: 27.11 kB / 1.354 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.703, allocations: 95.45 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.703, allocations: 24.98 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.703, allocations: 0 / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.7031, allocations: 321.8 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.7031, allocations: 39.52 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.7032, allocations: 40.55 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.994e-05/0.7033, allocations: 40.38 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7033, allocations: 3.906 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.7035, allocations: 122.3 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.7035, allocations: 4.562 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.7035, allocations: 0 / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.7035, allocations: 1.375 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.7039, allocations: 56.55 kB / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7039, allocations: 5.438 kB / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.7041, allocations: 39.53 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.7041, allocations: 3.766 kB / 1.354 GB, free: 14.04 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: 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 5.264e-05/0.7042, allocations: 104.2 kB / 1.355 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.7042, allocations: 16.8 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.7042, allocations: 16.27 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.7042, allocations: 1.5 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7042, allocations: 2.438 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7043, allocations: 1.875 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.7044, allocations: 207 kB / 1.355 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7044, allocations: 0.8125 kB / 1.355 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.7047, allocations: 52.19 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7047, allocations: 0.7812 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.7047, allocations: 2.484 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7047, allocations: 0.7812 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7047, allocations: 2.25 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002255/0.705, allocations: 227.8 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.705, allocations: 92.84 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.705, allocations: 4.953 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.7053, allocations: 31.8 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.7053, allocations: 29.8 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.7054, allocations: 4.422 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.989e-05/0.7054, allocations: 111.8 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002309/0.7057, allocations: 27.41 kB / 1.355 GB, free: 13.41 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: 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.0001036/0.7058, allocations: 114.3 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.706, allocations: 93.14 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.706, allocations: 0 / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.7061, allocations: 66.66 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.7063, allocations: 10.3 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.7067, allocations: 163.5 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.7069, allocations: 0.7328 MB / 1.356 GB, free: 28.52 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.707, allocations: 0 / 1.356 GB, free: 28.52 MB / 0.823 GB Notification: Performance of Templates: time 0.004394/0.7114, allocations: 2.121 MB / 1.359 GB, free: 28.42 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches