Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.19/2.19, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001083/0.001083, allocations: 173 kB / 492.3 MB, free: 0.6055 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.717/1.717, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001021/0.001021, allocations: 91.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.397e-05/5.427e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2979, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.17, allocations: 149.2 MB / 1.358 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/1.17, allocations: 75.16 kB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006426/1.176, allocations: 2.006 MB / 1.36 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/1.176, allocations: 3.938 kB / 1.36 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.176, allocations: 3.844 kB / 1.36 GB, free: 34.55 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005642/1.177, allocations: 431.2 kB / 1.361 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/1.177, allocations: 11.59 kB / 1.361 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/1.177, allocations: 11.72 kB / 1.361 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/1.177, allocations: 204 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.177, allocations: 7.125 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/1.177, allocations: 7.156 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/1.177, allocations: 108.9 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/1.177, allocations: 5.078 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/1.177, allocations: 11.88 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/1.177, allocations: 3.875 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/1.177, allocations: 86.06 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/1.178, allocations: 419.4 kB / 1.361 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/1.179, allocations: 131.1 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/1.179, allocations: 47.2 kB / 1.362 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.179, allocations: 4.062 kB / 1.362 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/1.179, allocations: 34.5 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/1.179, allocations: 7.938 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002745/1.179, allocations: 123.1 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/1.179, allocations: 59.16 kB / 1.362 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/1.179, allocations: 138.5 kB / 1.362 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.179, allocations: 29.2 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/1.179, allocations: 104.8 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/1.179, allocations: 29.34 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/1.179, allocations: 0 / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.179, allocations: 326.1 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/1.179, allocations: 39.27 kB / 1.362 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/1.18, allocations: 44.5 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.305e-05/1.18, allocations: 33.88 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.18, allocations: 0 / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/1.18, allocations: 131.2 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.18, allocations: 5.406 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/1.18, allocations: 0 / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.18, allocations: 0 / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/1.18, allocations: 46.75 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.18, allocations: 3.875 kB / 1.363 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/1.18, allocations: 34.72 kB / 1.363 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/1.18, allocations: 9.594 kB / 1.363 GB, free: 32.83 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.427e-05/1.18, allocations: 115.2 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/1.18, allocations: 9.312 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/1.181, allocations: 19.64 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.181, allocations: 2.188 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.181, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.181, allocations: 1.641 kB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.181, allocations: 239 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.181, allocations: 0 / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/1.181, allocations: 46.83 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.181, allocations: 0 / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.181, allocations: 1.312 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.181, allocations: 2.406 kB / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.181, allocations: 0 / 1.363 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/1.181, allocations: 237 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/1.181, allocations: 96.83 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/1.181, allocations: 0 / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/1.182, allocations: 27.23 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/1.182, allocations: 36.39 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/1.182, allocations: 9.203 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.368e-05/1.182, allocations: 109.5 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 4 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00022/1.182, allocations: 28.45 kB / 1.364 GB, free: 32.18 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000116/1.182, allocations: 107.3 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001783/1.182, allocations: 99.38 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.182, allocations: 0 / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/1.182, allocations: 63.88 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/1.183, allocations: 17.41 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/1.183, allocations: 171.6 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/1.183, allocations: 0.7064 MB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000116/1.183, allocations: 28.83 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/1.184, allocations: 24.05 kB / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.184, allocations: 0 / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.004376/1.188, allocations: 1.981 MB / 1.367 GB, free: 31.14 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches