Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.11 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.001081/0.001081, allocations: 178.7 kB / 0.4902 GB, free: 2.32 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.542/1.542, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.0009444, allocations: 93.09 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.000519, allocations: 6.906 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3336, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.5353, allocations: 150.1 MB / 1.376 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5356, allocations: 71.95 kB / 1.376 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007075/0.5427, allocations: 2.001 MB / 1.378 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5427, allocations: 0 / 1.378 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.5427, allocations: 7.938 kB / 1.378 GB, free: 1.445 MB / 0.8698 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.0008065/0.5435, allocations: 446.8 kB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5436, allocations: 8.562 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.5437, allocations: 15.81 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.5439, allocations: 213.8 kB / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.544, allocations: 8 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.544, allocations: 4 kB / 1.378 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.5445, allocations: 161.6 kB / 1.379 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5445, allocations: 3.953 kB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.5446, allocations: 4 kB / 1.379 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5446, allocations: 0 / 1.379 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.5452, allocations: 195.8 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.5459, allocations: 416.5 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.5469, allocations: 192.1 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.5469, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.547, allocations: 34.56 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.547, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.001036/0.548, allocations: 329.5 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5481, allocations: 63.53 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.5482, allocations: 134 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5483, allocations: 29.7 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.5484, allocations: 104 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.5484, allocations: 19.72 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.5484, allocations: 4 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5486, allocations: 322.8 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.5488, allocations: 87.92 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.5491, allocations: 99.86 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.5494, allocations: 91.92 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5494, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006308/0.5501, allocations: 237.3 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5501, allocations: 6.031 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5501, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.5501, allocations: 7.984 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.5504, allocations: 47.89 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5505, allocations: 0 / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5507, allocations: 43.86 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.5507, allocations: 8.656 kB / 1.381 GB, free: 13.96 MB / 0.8855 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 () * Number of clocked 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 0.0001206/0.5508, allocations: 117.8 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.5509, allocations: 7.906 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.5509, allocations: 16.72 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5509, allocations: 0 / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.551, allocations: 4 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.551, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.5512, allocations: 245.3 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5513, allocations: 11.94 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.5515, allocations: 39.95 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5515, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.5516, allocations: 4 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5516, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5516, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.5523, allocations: 339.2 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.5524, allocations: 89 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.5524, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.5526, allocations: 31.97 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.5528, allocations: 31.95 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.5528, allocations: 11.98 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.5529, allocations: 109.5 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5529, allocations: 3.938 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002689/0.5532, allocations: 31.84 kB / 1.382 GB, free: 12.79 MB / 0.8855 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 () * Number of clocked 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.0001803/0.5534, allocations: 108 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006545/0.554, allocations: 207.8 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.554, allocations: 0 / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.5544, allocations: 111.9 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.5546, allocations: 16.62 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006086/0.5553, allocations: 269.5 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5556, allocations: 0.7083 MB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.5557, allocations: 28.36 kB / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.481e-05/0.5558, allocations: 23.41 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of SimCode: time 8.61e-07/0.5558, allocations: 3.938 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.005209/0.561, allocations: 1.968 MB / 1.385 GB, free: 9.312 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches