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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001122/0.001122, allocations: 175.9 kB / 492.3 MB, free: 0.6172 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.77/1.77, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009446/0.0009447, allocations: 96.84 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.333e-05/4.335e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.241, allocations: 149 MB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/1.241, allocations: 65.12 kB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00624/1.247, allocations: 2.023 MB / 1.36 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/1.247, allocations: 0 / 1.36 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.148e-05/1.247, allocations: 7.969 kB / 1.36 GB, free: 34.64 MB / 0.8386 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.0006738/1.248, allocations: 0.4887 MB / 1.36 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.248, allocations: 7.688 kB / 1.36 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/1.248, allocations: 17.23 kB / 1.36 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/1.248, allocations: 223.3 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/1.248, allocations: 3.062 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/1.248, allocations: 15.66 kB / 1.361 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/1.248, allocations: 124.2 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/1.248, allocations: 0 / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/1.248, allocations: 7.391 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.248, allocations: 5.219 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/1.249, allocations: 107.4 kB / 1.361 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/1.249, allocations: 0.5406 MB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/1.25, allocations: 89.28 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/1.25, allocations: 70.94 kB / 1.362 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/1.25, allocations: 7.75 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/1.25, allocations: 30.56 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/1.25, allocations: 0 / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002581/1.25, allocations: 144.9 kB / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/1.25, allocations: 55.34 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/1.25, allocations: 160.1 kB / 1.362 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/1.25, allocations: 29.02 kB / 1.362 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/1.25, allocations: 124.5 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.25, allocations: 29.91 kB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/1.25, allocations: 7.469 kB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/1.25, allocations: 324.9 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/1.25, allocations: 41.64 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/1.25, allocations: 46.94 kB / 1.363 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.109e-05/1.251, allocations: 44.64 kB / 1.363 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.251, allocations: 0 / 1.363 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000194/1.251, allocations: 138.2 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.251, allocations: 11.78 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.251, allocations: 384 / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.251, allocations: 1.828 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/1.251, allocations: 62.25 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.251, allocations: 5.828 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.251, allocations: 59.42 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/1.251, allocations: 0 / 1.363 GB, free: 32.89 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.566e-05/1.251, allocations: 109.2 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/1.251, allocations: 15.66 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/1.252, allocations: 22.16 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.252, allocations: 3.844 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.252, allocations: 0 / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.252, allocations: 9.438 kB / 1.363 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/1.252, allocations: 246.7 kB / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.252, allocations: 0 / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/1.252, allocations: 60.45 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.252, allocations: 0 / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/1.252, allocations: 3.438 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.252, allocations: 0.6875 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.252, allocations: 5.391 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/1.252, allocations: 245.9 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/1.252, allocations: 84.77 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/1.252, allocations: 3.719 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/1.253, allocations: 52.62 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/1.253, allocations: 19.64 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/1.253, allocations: 0 / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.796e-05/1.253, allocations: 134.8 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.253, allocations: 0 / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000216/1.253, allocations: 34.25 kB / 1.364 GB, free: 32.23 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.0001041/1.253, allocations: 98.05 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002004/1.253, allocations: 111 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.253, allocations: 0 / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/1.253, allocations: 62.7 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/1.254, allocations: 29.72 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/1.254, allocations: 218.6 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/1.254, allocations: 0.7299 MB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.619e-05/1.254, allocations: 22.11 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/1.254, allocations: 11.31 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.254, allocations: 0 / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.003236/1.258, allocations: 1.511 MB / 1.367 GB, free: 31.2 MB / 0.8386 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