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 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.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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001998/0.001998, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.612/1.612, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.221/3.221, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.75 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4708, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00295/0.4738, allocations: 0.9103 MB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.4753, allocations: 0.8975 MB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4754, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.4756, allocations: 11.86 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.4758, allocations: 3.938 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.476, allocations: 59.94 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.4762, allocations: 123.7 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.4764, allocations: 45.08 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4765, allocations: 47.84 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4767, allocations: 79.66 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.4768, allocations: 8 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.4768, allocations: 11.94 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.4769, allocations: 27.89 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.477, allocations: 51.72 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.4772, allocations: 131.5 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4772, allocations: 4 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4772, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.4772, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8262 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.001018/0.4782, allocations: 443.2 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4783, allocations: 15.97 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.4784, allocations: 12.75 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.4786, allocations: 202 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.4787, allocations: 12.38 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.4787, allocations: 19.88 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.4792, allocations: 143.1 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4792, allocations: 0 / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.4792, allocations: 8 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4792, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.4798, allocations: 155.8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/0.4806, allocations: 420.4 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.4816, allocations: 174.5 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.4819, allocations: 92.86 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.4819, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4819, allocations: 30.56 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4819, allocations: 0 / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.00101/0.483, allocations: 281.2 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.483, allocations: 63.33 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4832, allocations: 147.8 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.4832, allocations: 25.7 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.4833, allocations: 108 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.4833, allocations: 27.62 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.4834, allocations: 33.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4836, allocations: 318.8 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.4839, allocations: 75.92 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.4841, allocations: 80.23 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005406/0.4847, allocations: 156.8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4847, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006211/0.4853, allocations: 209.3 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4854, allocations: 11.94 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4854, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4854, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.4857, allocations: 35.95 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4857, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4859, allocations: 31.91 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4859, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 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.0001308/0.486, allocations: 125.8 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4861, allocations: 11.84 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.4861, allocations: 20.72 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.4861, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4861, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4862, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.4864, allocations: 229.5 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4864, allocations: 4 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.4867, allocations: 35.95 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.4867, allocations: 7.938 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.4867, allocations: 4 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4867, allocations: 3.938 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4867, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.4875, allocations: 303.3 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.4876, allocations: 96.94 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4876, allocations: 0 / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.4878, allocations: 19.97 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4879, allocations: 27.97 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4879, allocations: 11.98 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.941e-05/0.488, allocations: 110.1 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.488, allocations: 4 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000268/0.4883, allocations: 27.84 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001763/0.4885, allocations: 105.6 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.4891, allocations: 171.8 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4892, allocations: 0 / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.4895, allocations: 99.91 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4898, allocations: 15.92 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.4904, allocations: 279.6 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4908, allocations: 0.7043 MB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.4909, allocations: 24.41 kB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.491, allocations: 19.42 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of SimCode: time 3.447e-06/0.491, allocations: 0 / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.00513/0.4962, allocations: 2.059 MB / 1.077 GB, free: 328 kB / 0.8262 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/jenkins/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