Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 4.418 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 181.3 kB / 487 MB, free: 10.95 MB / 402.8 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: 3.867 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 104.6 kB / 0.9213 GB, free: 4.949 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.594e-06, allocations: 4 kB / 1.066 GB, free: 141 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1817, allocations: 142.3 MB / 1.205 GB, free: 14.67 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5033/0.685, allocations: 148.2 MB / 1.35 GB, free: 3.805 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001427/0.6852, allocations: 59.97 kB / 1.35 GB, free: 3.746 MB / 0.8152 GB Notification: Performance of FrontEnd: time 0.00548/0.6907, allocations: 1.749 MB / 1.352 GB, free: 2.004 MB / 0.8152 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.6907, allocations: 4 kB / 1.352 GB, free: 2 MB / 0.8152 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006928/0.6914, allocations: 0.5001 MB / 1.352 GB, free: 1.457 MB / 0.8152 GB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.6914, allocations: 11.97 kB / 1.352 GB, free: 1.445 MB / 0.8152 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.6915, allocations: 19.72 kB / 1.352 GB, free: 1.426 MB / 0.8152 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.6917, allocations: 227.4 kB / 1.352 GB, free: 1.164 MB / 0.8152 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.6917, allocations: 4 kB / 1.352 GB, free: 1.16 MB / 0.8152 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.6917, allocations: 4 kB / 1.352 GB, free: 1.156 MB / 0.8152 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002142/0.6919, allocations: 108.1 kB / 1.353 GB, free: 1.051 MB / 0.8152 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.6921, allocations: 125.5 kB / 1.353 GB, free: 0.9219 MB / 0.8152 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6921, allocations: 0 / 1.353 GB, free: 0.9219 MB / 0.8152 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6922, allocations: 0 / 1.353 GB, free: 0.9219 MB / 0.8152 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6922, allocations: 0.6562 kB / 1.353 GB, free: 0.9219 MB / 0.8152 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.6931, allocations: 0.5242 MB / 1.353 GB, free: 368 kB / 0.8152 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6932, allocations: 95.08 kB / 1.353 GB, free: 268 kB / 0.8152 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.6933, allocations: 64.77 kB / 1.353 GB, free: 200 kB / 0.8152 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.6934, allocations: 4 kB / 1.353 GB, free: 196 kB / 0.8152 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.6934, allocations: 30.56 kB / 1.353 GB, free: 156 kB / 0.8152 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.6934, allocations: 0 / 1.353 GB, free: 156 kB / 0.8152 GB Notification: Performance of matching and sorting (n=9): time 0.0002854/0.6937, allocations: 141.6 kB / 1.354 GB, free: 8 kB / 0.8152 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6937, allocations: 55.41 kB / 1.354 GB, free: 15.94 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.6939, allocations: 154.3 kB / 1.354 GB, free: 15.79 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.6939, allocations: 25.7 kB / 1.354 GB, free: 15.75 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.6939, allocations: 104 kB / 1.354 GB, free: 15.65 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.694, allocations: 31.56 kB / 1.354 GB, free: 15.62 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.694, allocations: 0 / 1.354 GB, free: 15.62 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6941, allocations: 330.8 kB / 1.354 GB, free: 15.29 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.6942, allocations: 39.98 kB / 1.354 GB, free: 15.25 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.6943, allocations: 51.92 kB / 1.354 GB, free: 15.2 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.6943, allocations: 44.25 kB / 1.354 GB, free: 15.15 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6943, allocations: 0 / 1.354 GB, free: 15.15 MB / 0.8308 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002079/0.6946, allocations: 145.4 kB / 1.354 GB, free: 15 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6946, allocations: 8 kB / 1.354 GB, free: 15 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.6946, allocations: 3.938 kB / 1.354 GB, free: 14.99 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6946, allocations: 7.906 kB / 1.355 GB, free: 14.98 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.6949, allocations: 63.95 kB / 1.355 GB, free: 14.92 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6949, allocations: 0 / 1.355 GB, free: 14.92 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6951, allocations: 51.89 kB / 1.355 GB, free: 14.87 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.6952, allocations: 8 kB / 1.355 GB, free: 14.86 MB / 0.8308 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 (9): * Single equations (assignments): 9 * 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.868e-05/0.6952, allocations: 101 kB / 1.355 GB, free: 14.76 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.6953, allocations: 19.8 kB / 1.355 GB, free: 14.74 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.6953, allocations: 17.41 kB / 1.355 GB, free: 14.72 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6953, allocations: 3.906 kB / 1.355 GB, free: 14.72 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6954, allocations: 1.25 kB / 1.355 GB, free: 14.72 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6954, allocations: 0 / 1.355 GB, free: 14.72 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.6956, allocations: 218.1 kB / 1.355 GB, free: 14.47 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.6956, allocations: 0 / 1.355 GB, free: 14.47 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.6959, allocations: 71.88 kB / 1.355 GB, free: 14.4 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6959, allocations: 3.906 kB / 1.355 GB, free: 14.39 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.6959, allocations: 7.984 kB / 1.355 GB, free: 14.39 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6959, allocations: 3.938 kB / 1.355 GB, free: 14.38 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6959, allocations: 4 kB / 1.355 GB, free: 14.38 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002623/0.6962, allocations: 239.2 kB / 1.355 GB, free: 14.13 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.6963, allocations: 92.92 kB / 1.355 GB, free: 14.02 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.6963, allocations: 4 kB / 1.355 GB, free: 14.02 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.6965, allocations: 47.95 kB / 1.355 GB, free: 13.97 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.6966, allocations: 7.984 kB / 1.355 GB, free: 13.96 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.6966, allocations: 7.984 kB / 1.355 GB, free: 13.95 MB / 0.8308 GB Notification: Performance of sort global known variables: time 7.67e-05/0.6967, allocations: 127.3 kB / 1.356 GB, free: 13.83 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.0002204/0.6969, allocations: 32.03 kB / 1.356 GB, free: 13.8 MB / 0.8308 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 (9): * Single equations (assignments): 9 * 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.0001244/0.6971, allocations: 99.25 kB / 1.356 GB, free: 13.69 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.6973, allocations: 115.8 kB / 1.356 GB, free: 13.58 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6973, allocations: 0 / 1.356 GB, free: 13.58 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.6974, allocations: 63.97 kB / 1.356 GB, free: 13.52 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.6976, allocations: 20.19 kB / 1.356 GB, free: 13.49 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.6981, allocations: 219.5 kB / 1.356 GB, free: 13.25 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.6984, allocations: 0.747 MB / 1.357 GB, free: 12.48 MB / 0.8308 GB Notification: Performance of SimCode: time 2.2e-07/0.6984, allocations: 4 kB / 1.357 GB, free: 12.47 MB / 0.8308 GB Notification: Performance of Templates: time 0.003745/0.7022, allocations: 1.791 MB / 1.359 GB, free: 10.71 MB / 0.8308 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches