Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001429/0.001429, allocations: 116.6 kB / 16.81 MB, free: 5.77 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.001325/0.001325, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.534/1.534, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 61.62 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002243/0.4127, allocations: 0.8613 MB / 1.263 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4139, allocations: 0.8857 MB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.414, allocations: 4 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.4141, allocations: 15.8 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.4142, allocations: 19.8 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.4144, allocations: 59.92 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.4147, allocations: 131.7 kB / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.4148, allocations: 29.11 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.4149, allocations: 55.83 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.4151, allocations: 83.7 kB / 1.264 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.4151, allocations: 12 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-05/0.4152, allocations: 12 kB / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.4152, allocations: 35.91 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.4154, allocations: 63.64 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.4156, allocations: 139.3 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4156, allocations: 0 / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4156, allocations: 0 / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4156, allocations: 4 kB / 1.264 GB, free: 10.52 MB / 0.9825 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.0009807/0.4166, allocations: 446.8 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4166, allocations: 12.62 kB / 1.265 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.4167, allocations: 12.84 kB / 1.265 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.4169, allocations: 216.6 kB / 1.265 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4169, allocations: 12.12 kB / 1.265 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.417, allocations: 8 kB / 1.265 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.4174, allocations: 141.6 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4174, allocations: 0 / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.4174, allocations: 4 kB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4174, allocations: 4 kB / 1.265 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.418, allocations: 162.2 kB / 1.265 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.4188, allocations: 416.4 kB / 1.266 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009013/0.4197, allocations: 170.4 kB / 1.266 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.42, allocations: 80.95 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.42, allocations: 0 / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4201, allocations: 42.56 kB / 1.266 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.4201, allocations: 3.938 kB / 1.266 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.00102/0.4211, allocations: 285.4 kB / 1.266 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4211, allocations: 51.41 kB / 1.266 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.4213, allocations: 149 kB / 1.267 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.4213, allocations: 29.7 kB / 1.267 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.4214, allocations: 104.1 kB / 1.267 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.4214, allocations: 27.75 kB / 1.267 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.4215, allocations: 29.7 kB / 1.267 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4217, allocations: 326.8 kB / 1.267 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.4219, allocations: 71.92 kB / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.4222, allocations: 75.86 kB / 1.267 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.4228, allocations: 165.2 kB / 1.267 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4228, allocations: 0 / 1.267 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006416/0.4234, allocations: 201.4 kB / 1.268 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4234, allocations: 11.94 kB / 1.268 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4234, allocations: 0 / 1.268 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4235, allocations: 4 kB / 1.268 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.4237, allocations: 35.95 kB / 1.268 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4237, allocations: 0 / 1.268 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4239, allocations: 27.86 kB / 1.268 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.4239, allocations: 11.98 kB / 1.268 GB, free: 7.027 MB / 0.9825 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.0001709/0.4241, allocations: 126.6 kB / 1.268 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.4241, allocations: 11.89 kB / 1.268 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.4242, allocations: 20.7 kB / 1.268 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4242, allocations: 0 / 1.268 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4242, allocations: 0 / 1.268 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.4242, allocations: 89.02 kB / 1.268 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4243, allocations: 4 kB / 1.268 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4245, allocations: 15.97 kB / 1.268 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4246, allocations: 39.95 kB / 1.268 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008332/0.4254, allocations: 304.6 kB / 1.268 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007604/0.4262, allocations: 386.6 kB / 1.269 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003125/0.4265, allocations: 91.91 kB / 1.269 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.25e-05/0.4266, allocations: 111.2 kB / 1.269 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of Backend: time 3.11e-07/0.4266, allocations: 4 kB / 1.269 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006911/0.4273, allocations: 162.3 kB / 1.269 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0009264/0.4282, allocations: 0.6671 MB / 1.27 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of Templates: time 0.006885/0.4351, allocations: 2.721 MB / 1.272 GB, free: 2.203 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches