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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001229, allocations: 111.5 kB / 16.42 MB, free: 6.441 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.001429/0.001429, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.523/1.523, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 469.4 MB / 0.7428 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001709, allocations: 68.12 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.141, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002679/1.144, allocations: 0.8399 MB / 1.222 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001807/1.146, allocations: 0.9012 MB / 1.223 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/1.146, allocations: 0 / 1.223 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/1.146, allocations: 15.8 kB / 1.223 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/1.146, allocations: 19.88 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/1.147, allocations: 59.84 kB / 1.223 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/1.147, allocations: 127.7 kB / 1.223 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/1.147, allocations: 45.08 kB / 1.223 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/1.147, allocations: 55.78 kB / 1.223 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/1.148, allocations: 79.72 kB / 1.223 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/1.148, allocations: 12 kB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.144e-05/1.148, allocations: 12 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/1.148, allocations: 39.89 kB / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/1.148, allocations: 59.59 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/1.148, allocations: 147.4 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.148, allocations: 4 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/1.148, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.148, allocations: 0 / 1.223 GB, free: 15.88 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001102/1.149, allocations: 448.6 kB / 1.224 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.149, allocations: 8.031 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/1.149, allocations: 12.75 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/1.15, allocations: 204.6 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/1.15, allocations: 12.12 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/1.15, allocations: 15.98 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/1.15, allocations: 143.9 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.15, allocations: 0 / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/1.15, allocations: 8 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.15, allocations: 0 / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/1.151, allocations: 159.8 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000741/1.152, allocations: 408.5 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/1.153, allocations: 174.5 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/1.153, allocations: 88.84 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/1.153, allocations: 4 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.153, allocations: 34.56 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/1.153, allocations: 0 / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.00113/1.154, allocations: 289.1 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/1.154, allocations: 51.41 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/1.154, allocations: 153.2 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.154, allocations: 25.7 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.155, allocations: 108 kB / 1.226 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/1.155, allocations: 27.64 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/1.155, allocations: 25.7 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.155, allocations: 323.2 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/1.155, allocations: 79.92 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.155, allocations: 79.86 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/1.156, allocations: 160.7 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.156, allocations: 0 / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007049/1.157, allocations: 205.3 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.157, allocations: 7.938 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.157, allocations: 8 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.157, allocations: 0 / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/1.157, allocations: 39.95 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.157, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/1.157, allocations: 19.97 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/1.157, allocations: 0 / 1.226 GB, free: 12.41 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.158, allocations: 130.4 kB / 1.227 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/1.158, allocations: 11.84 kB / 1.227 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/1.158, allocations: 16.72 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.158, allocations: 3.984 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.158, allocations: 0 / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/1.158, allocations: 96.8 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/1.158, allocations: 3.938 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/1.158, allocations: 23.97 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/1.158, allocations: 31.97 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008489/1.159, allocations: 304.9 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007273/1.16, allocations: 374.5 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003132/1.16, allocations: 103.8 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.923e-05/1.16, allocations: 111.2 kB / 1.228 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of Backend: time 6.62e-07/1.16, allocations: 0 / 1.228 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007048/1.161, allocations: 170.3 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007521/1.162, allocations: 0.6479 MB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.006636/1.169, allocations: 2.684 MB / 1.231 GB, free: 7.625 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches