Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009978/0.0009979, allocations: 189.2 kB / 316 MB, free: 3.504 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.473/1.473, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001056/0.001056, allocations: 97.97 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.096e-05, allocations: 8 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2437, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6808/0.9245, allocations: 131.9 MB / 1.013 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.9248, allocations: 73.44 kB / 1.013 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00637/0.9312, allocations: 1.815 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.9313, allocations: 4 kB / 1.015 GB, free: 5.133 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000831/0.9321, allocations: 0.5057 MB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9321, allocations: 8.031 kB / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.9322, allocations: 15.81 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.9325, allocations: 217.6 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.9325, allocations: 4 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.9325, allocations: 4 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002649/0.9328, allocations: 115.5 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.933, allocations: 120.3 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.9331, allocations: 4 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.9331, allocations: 7.844 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.9331, allocations: 4 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.9342, allocations: 0.514 MB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.9344, allocations: 90.73 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.9345, allocations: 62.34 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.9345, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.9346, allocations: 37.92 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.9346, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000306/0.9349, allocations: 137.8 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.9349, allocations: 63.34 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.9351, allocations: 155 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.9351, allocations: 25.7 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.9352, allocations: 107.5 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.9352, allocations: 27.09 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.9352, allocations: 3.938 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9354, allocations: 326 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.9355, allocations: 45.47 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.9355, allocations: 49.55 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.643e-05/0.9356, allocations: 48.34 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9356, allocations: 0 / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002251/0.9359, allocations: 141.5 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9359, allocations: 11.98 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9359, allocations: 0 / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9359, allocations: 0 / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.9363, allocations: 59.95 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.9363, allocations: 4 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.9365, allocations: 55.8 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.9365, allocations: 4 kB / 1.018 GB, free: 2.297 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: 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 9.213e-05/0.9366, allocations: 108.4 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.9367, allocations: 15.81 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.9367, allocations: 20.45 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9368, allocations: 4 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9368, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.9368, allocations: 3.938 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.937, allocations: 222.3 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.937, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.9373, allocations: 68.31 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9373, allocations: 0 / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.9374, allocations: 4 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9374, allocations: 4 kB / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9374, allocations: 288 / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002823/0.9377, allocations: 245.7 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.9377, allocations: 84.92 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.9378, allocations: 8 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.938, allocations: 55.86 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.9381, allocations: 11.48 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.9381, allocations: 0 / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.254e-05/0.9382, allocations: 129.5 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002372/0.9385, allocations: 27.94 kB / 1.019 GB, free: 1.305 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: 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.0001933/0.9387, allocations: 95.25 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.9389, allocations: 114.6 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9389, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.9391, allocations: 66.61 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.9393, allocations: 24.58 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.9399, allocations: 203.9 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.9402, allocations: 0.7531 MB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9403, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of Templates: time 0.004346/0.9446, allocations: 1.806 MB / 1.022 GB, free: 14.31 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches