Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001479/0.001479, allocations: 117.7 kB / 16.42 MB, free: 6.492 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.001584/0.001584, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002226/1.187, allocations: 0.8531 MB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001228/1.188, allocations: 0.9075 MB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/1.188, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/1.188, allocations: 11.86 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/1.189, allocations: 23.81 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/1.189, allocations: 51.92 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/1.189, allocations: 135.7 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/1.189, allocations: 37.11 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/1.189, allocations: 55.83 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/1.19, allocations: 79.72 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/1.19, allocations: 12 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.672e-05/1.19, allocations: 12 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/1.19, allocations: 39.89 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/1.19, allocations: 63.53 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/1.19, allocations: 143.5 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.19, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/1.19, allocations: 4 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.19, allocations: 0 / 1.17 GB, free: 1.43 MB / 0.8887 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.0008833/1.191, allocations: 440.7 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.191, allocations: 12.03 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/1.191, allocations: 12.75 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/1.191, allocations: 213.7 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/1.191, allocations: 8.125 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/1.191, allocations: 8 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/1.192, allocations: 149.5 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.192, allocations: 0 / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/1.192, allocations: 8 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.192, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/1.192, allocations: 155.8 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/1.193, allocations: 408.5 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/1.194, allocations: 186.5 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/1.194, allocations: 80.83 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.194, allocations: 11.97 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.194, allocations: 34.56 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/1.194, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0009981/1.195, allocations: 281.2 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.195, allocations: 51.41 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.196, allocations: 156.2 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/1.196, allocations: 25.7 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/1.196, allocations: 108 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/1.196, allocations: 27.64 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/1.196, allocations: 25.7 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.196, allocations: 331.1 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/1.196, allocations: 75.92 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/1.197, allocations: 79.86 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/1.197, allocations: 152.7 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.197, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00064/1.198, allocations: 201.3 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.198, allocations: 11.92 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.198, allocations: 4 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.198, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/1.198, allocations: 39.95 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.198, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/1.198, allocations: 23.91 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/1.198, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 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.0001188/1.198, allocations: 129.8 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/1.198, allocations: 11.84 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/1.199, allocations: 16.72 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.199, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.199, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/1.199, allocations: 92.89 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/1.199, allocations: 7.984 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.199, allocations: 23.97 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.199, allocations: 27.97 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008036/1.2, allocations: 304.9 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006846/1.2, allocations: 386.3 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000304/1.201, allocations: 99.91 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.194e-05/1.201, allocations: 104.8 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of Backend: time 4.2e-07/1.201, allocations: 4 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006741/1.202, allocations: 176.8 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006734/1.202, allocations: 0.6478 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.006/1.208, allocations: 2.676 MB / 1.177 GB, free: 9.188 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches