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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001696/0.001696, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.002008/0.002008, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 67.89 kB / 1.07 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.093, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002939/1.096, allocations: 0.8756 MB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001354/1.098, allocations: 0.878 MB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/1.098, allocations: 4 kB / 1.228 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/1.098, allocations: 23.73 kB / 1.228 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/1.098, allocations: 27.73 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/1.098, allocations: 39.95 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/1.099, allocations: 143.6 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/1.099, allocations: 53.28 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/1.099, allocations: 55.77 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/1.099, allocations: 79.73 kB / 1.229 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/1.099, allocations: 12 kB / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.148e-05/1.099, allocations: 20 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/1.099, allocations: 43.83 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/1.099, allocations: 67.59 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/1.1, allocations: 175.8 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.1, allocations: 0 / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.934e-06/1.1, allocations: 0 / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.1, allocations: 0 / 1.229 GB, free: 10.97 MB / 0.9512 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.00114/1.101, allocations: 0.5063 MB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.101, allocations: 8.031 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/1.101, allocations: 20.8 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/1.101, allocations: 224 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.101, allocations: 4.375 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.101, allocations: 8.375 kB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/1.102, allocations: 182.1 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.102, allocations: 192 / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.102, allocations: 3.938 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/1.102, allocations: 4 kB / 1.23 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/1.103, allocations: 219.8 kB / 1.23 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.104, allocations: 0.512 MB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/1.104, allocations: 154.4 kB / 1.231 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/1.105, allocations: 116.7 kB / 1.231 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/1.105, allocations: 0 / 1.231 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/1.105, allocations: 46.55 kB / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/1.105, allocations: 0 / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001233/1.106, allocations: 357.8 kB / 1.231 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.106, allocations: 51.41 kB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/1.106, allocations: 192.4 kB / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.106, allocations: 29.64 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/1.106, allocations: 128 kB / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/1.107, allocations: 35.73 kB / 1.232 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/1.107, allocations: 21.72 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.107, allocations: 330.8 kB / 1.232 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/1.107, allocations: 99.89 kB / 1.232 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/1.107, allocations: 107.9 kB / 1.232 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/1.108, allocations: 216.6 kB / 1.232 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.108, allocations: 0 / 1.232 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000797/1.109, allocations: 257.3 kB / 1.233 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.109, allocations: 4 kB / 1.233 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.109, allocations: 0 / 1.233 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.109, allocations: 4 kB / 1.233 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/1.109, allocations: 47.94 kB / 1.233 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.109, allocations: 0 / 1.233 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/1.11, allocations: 35.89 kB / 1.233 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/1.11, allocations: 4 kB / 1.233 GB, free: 6.867 MB / 0.9512 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 0.000131/1.11, allocations: 126.4 kB / 1.233 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/1.11, allocations: 15.91 kB / 1.233 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/1.11, allocations: 25.39 kB / 1.233 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.11, allocations: 3.938 kB / 1.233 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.11, allocations: 288 / 1.233 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.571e-05/1.11, allocations: 96.95 kB / 1.233 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/1.11, allocations: 0 / 1.233 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/1.11, allocations: 39.89 kB / 1.233 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/1.11, allocations: 11.98 kB / 1.233 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000991/1.111, allocations: 364.6 kB / 1.233 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008592/1.112, allocations: 442.4 kB / 1.234 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000361/1.113, allocations: 115.9 kB / 1.234 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000114/1.113, allocations: 136.9 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of Backend: time 3.61e-07/1.113, allocations: 0 / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008165/1.114, allocations: 194.3 kB / 1.234 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008358/1.114, allocations: 0.7154 MB / 1.235 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of Templates: time 0.006518/1.121, allocations: 2.494 MB / 1.237 GB, free: 2.043 MB / 0.9512 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