Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 105.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 71.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6762, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001989/0.6783, allocations: 0.8928 MB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.6793, allocations: 0.8819 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.6794, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.6795, allocations: 11.81 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.6796, allocations: 35.72 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.6798, allocations: 35.94 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.6799, allocations: 135.6 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.6801, allocations: 61.31 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.6802, allocations: 55.83 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.6804, allocations: 83.66 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.6804, allocations: 16 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.6804, allocations: 12 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.6805, allocations: 43.84 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.6806, allocations: 67.59 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.6808, allocations: 175.2 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6808, allocations: 7.938 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6808, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.6808, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 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.0009068/0.6817, allocations: 0.5005 MB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.6817, allocations: 11.97 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.6818, allocations: 16.75 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.682, allocations: 219.9 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.682, allocations: 4.375 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.6821, allocations: 12.31 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.6826, allocations: 183.5 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6826, allocations: 4.188 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.6826, allocations: 7.938 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.6827, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.6834, allocations: 219.8 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009529/0.6844, allocations: 0.508 MB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.6848, allocations: 146.5 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.6852, allocations: 128.9 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.6852, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.6853, allocations: 30.56 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.6853, allocations: 0 / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0012/0.6865, allocations: 369.1 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6865, allocations: 51.41 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.6867, allocations: 175.6 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.6867, allocations: 33.7 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.6868, allocations: 120 kB / 1.214 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.6868, allocations: 27.56 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.6869, allocations: 21.72 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.687, allocations: 330.8 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.6873, allocations: 99.89 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.6877, allocations: 100.3 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.6884, allocations: 224.7 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6884, allocations: 4 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007466/0.6891, allocations: 257.2 kB / 1.215 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6892, allocations: 13.66 kB / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6892, allocations: 4 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6892, allocations: 0 / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.6895, allocations: 39.95 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6895, allocations: 3.938 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.6897, allocations: 39.94 kB / 1.215 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.6897, allocations: 0 / 1.215 GB, free: 7.043 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/0.6898, allocations: 133.8 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.6898, allocations: 11.81 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.6899, allocations: 17.41 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6899, allocations: 4 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6899, allocations: 3.938 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6899, allocations: 0 / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.6902, allocations: 249.5 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6902, allocations: 7.938 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.6905, allocations: 43.95 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6905, allocations: 0 / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6905, allocations: 0 / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6905, allocations: 3.984 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6905, allocations: 7.938 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.6913, allocations: 359.1 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.6913, allocations: 92.86 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.6914, allocations: 0 / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.6916, allocations: 35.95 kB / 1.216 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.6917, allocations: 19.92 kB / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.6917, allocations: 0 / 1.216 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.101e-05/0.6918, allocations: 140.1 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6918, allocations: 0 / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002381/0.692, allocations: 28 kB / 1.216 GB, free: 5.812 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.6921, allocations: 99.23 kB / 1.216 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007686/0.6929, allocations: 227.7 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6929, allocations: 0 / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.6933, allocations: 119.8 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.6936, allocations: 19.98 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.6942, allocations: 333.2 kB / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.6944, allocations: 0.7274 MB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.6945, allocations: 15.44 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.6945, allocations: 0 / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of Templates: time 0.003346/0.6979, allocations: 2.053 MB / 1.219 GB, free: 2.184 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches