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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 249.5 MB / 257 MB, free: 6.973 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.001212/0.001212, allocations: 172.9 kB / 316.3 MB, free: 3.285 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.651/1.651, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009247/0.000925, allocations: 86.23 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.49e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 106.3 MB / 0.8853 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/1.045, allocations: 131.8 MB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.045, allocations: 75.53 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006333/1.051, allocations: 2.077 MB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/1.051, allocations: 192 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.051, allocations: 4 kB / 1.016 GB, free: 4.047 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.0008095/1.052, allocations: 0.4965 MB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.052, allocations: 12.03 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/1.052, allocations: 15.81 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/1.053, allocations: 222.5 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.053, allocations: 4 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/1.053, allocations: 4 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002307/1.053, allocations: 106.4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/1.053, allocations: 119 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/1.053, allocations: 0 / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/1.053, allocations: 0 / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/1.053, allocations: 8.438 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/1.054, allocations: 0.499 MB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/1.054, allocations: 91.36 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/1.054, allocations: 58.58 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/1.054, allocations: 4 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.054, allocations: 34.5 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/1.054, allocations: 0.75 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002803/1.055, allocations: 141.6 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/1.055, allocations: 51.5 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.055, allocations: 162.8 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/1.055, allocations: 25.7 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/1.055, allocations: 113.8 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/1.055, allocations: 30.86 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/1.055, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.055, allocations: 329.2 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/1.055, allocations: 43.3 kB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/1.055, allocations: 50.03 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.083e-05/1.055, allocations: 46.03 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.055, allocations: 4 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001952/1.056, allocations: 132.6 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.056, allocations: 7.938 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.056, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.056, allocations: 4 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/1.056, allocations: 62.81 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/1.056, allocations: 0 / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/1.056, allocations: 47.8 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.056, allocations: 4 kB / 1.019 GB, free: 1.273 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 8.183e-05/1.056, allocations: 108.9 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/1.056, allocations: 15.84 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/1.057, allocations: 26.95 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.057, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.057, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.057, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/1.057, allocations: 221.9 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.057, allocations: 3.953 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/1.057, allocations: 64.16 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.057, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.057, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.057, allocations: 3.938 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.057, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/1.057, allocations: 232.5 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/1.057, allocations: 95.75 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/1.057, allocations: 0 / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/1.058, allocations: 47.95 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/1.058, allocations: 15.41 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/1.058, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.89e-05/1.058, allocations: 125.6 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.058, allocations: 0 / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002281/1.058, allocations: 27.84 kB / 1.02 GB, free: 312 kB / 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.0001742/1.058, allocations: 103.2 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002062/1.059, allocations: 104.7 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.059, allocations: 4 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/1.059, allocations: 63.22 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/1.059, allocations: 23.47 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/1.059, allocations: 208.9 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.06, allocations: 0.7248 MB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.614e-05/1.06, allocations: 24.41 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/1.06, allocations: 11.44 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.06, allocations: 7.938 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.003837/1.064, allocations: 1.354 MB / 1.022 GB, free: 13.73 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