Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.733/1.733, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0008574/0.0008575, allocations: 190 kB / 490.8 MB, free: 1.953 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.077/1.077, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0007931/0.0007931, allocations: 85.89 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.575e-06/7.605e-06, allocations: 8 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1729, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.6398, allocations: 149 MB / 1.357 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.64, allocations: 66.95 kB / 1.357 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.00541/0.6455, allocations: 1.752 MB / 1.359 GB, free: 17.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.6455, allocations: 3.5 kB / 1.359 GB, free: 17.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007159/0.6462, allocations: 0.4996 MB / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.6463, allocations: 8.625 kB / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.6463, allocations: 20.69 kB / 1.359 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.6465, allocations: 211.9 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.6465, allocations: 3.594 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.6465, allocations: 8.031 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002034/0.6467, allocations: 117.8 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.6469, allocations: 118.9 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6469, allocations: 3.938 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.6469, allocations: 1.156 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6469, allocations: 2.062 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/0.6478, allocations: 0.5257 MB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.6479, allocations: 91.56 kB / 1.36 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.648, allocations: 56.69 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.648, allocations: 1.797 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.6481, allocations: 35.91 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.6481, allocations: 4 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002499/0.6483, allocations: 141.4 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.212e-05/0.6483, allocations: 52.91 kB / 1.361 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.6485, allocations: 161.9 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.6485, allocations: 25.7 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.6485, allocations: 103.2 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.6486, allocations: 29.25 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.6486, allocations: 1.219 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6487, allocations: 326.6 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.6488, allocations: 45.61 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-05/0.6488, allocations: 53.31 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.549e-05/0.6489, allocations: 51.25 kB / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6489, allocations: 0 / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001928/0.6491, allocations: 138.7 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.6491, allocations: 4.562 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.6491, allocations: 0.6094 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.6492, allocations: 1.156 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.6495, allocations: 72.28 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.6495, allocations: 5.094 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.6497, allocations: 52.86 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.6497, allocations: 2.031 kB / 1.362 GB, free: 31.52 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: 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 5.885e-05/0.6498, allocations: 107.1 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.6498, allocations: 13.94 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.6499, allocations: 23.86 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6499, allocations: 0.8125 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6499, allocations: 5.562 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6499, allocations: 0.6562 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.6501, allocations: 220.3 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6501, allocations: 0 / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.6503, allocations: 66.03 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6503, allocations: 3.219 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.6504, allocations: 0 / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.6504, allocations: 5.875 kB / 1.362 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6504, allocations: 3.938 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002303/0.6506, allocations: 242 kB / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.6506, allocations: 89.81 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.6507, allocations: 1.062 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6509, allocations: 52.88 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.651, allocations: 13.59 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.651, allocations: 1.375 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.832e-05/0.6511, allocations: 127.8 kB / 1.363 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002136/0.6513, allocations: 28.88 kB / 1.363 GB, free: 30.88 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: 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.0001011/0.6514, allocations: 102.7 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.6516, allocations: 114.6 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.6516, allocations: 0 / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.6517, allocations: 58.33 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.6519, allocations: 18.34 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.6523, allocations: 226.7 kB / 1.363 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.6527, allocations: 0.7399 MB / 1.364 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6527, allocations: 0 / 1.364 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of Templates: time 0.003542/0.6562, allocations: 1.811 MB / 1.366 GB, free: 29.87 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches