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.00744/0.00744, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001407/0.001407, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.075/3.075, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4029, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002345/0.4053, allocations: 0.8467 MB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4065, allocations: 0.8934 MB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.4066, allocations: 4 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.4067, allocations: 15.81 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.4068, allocations: 23.86 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.407, allocations: 51.86 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.4072, allocations: 127.7 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.4074, allocations: 49.08 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.4075, allocations: 59.77 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.4076, allocations: 75.72 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.4077, allocations: 12 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.366e-05/0.4077, allocations: 12 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.4078, allocations: 35.89 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.4078, allocations: 63.66 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.408, allocations: 143.5 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.408, allocations: 0 / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.408, allocations: 0 / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.4081, allocations: 0 / 1.21 GB, free: 7.215 MB / 0.9669 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.0008627/0.4089, allocations: 450.8 kB / 1.211 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.409, allocations: 12.03 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.409, allocations: 16.75 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.4093, allocations: 204.7 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4093, allocations: 8.125 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4093, allocations: 11.94 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.4098, allocations: 143.5 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4098, allocations: 3.984 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.4099, allocations: 7.938 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4099, allocations: 11.94 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.4104, allocations: 151.8 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.4111, allocations: 416.4 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/0.4119, allocations: 166.5 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.4122, allocations: 84.92 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4122, allocations: 4 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4122, allocations: 42.48 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.4122, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000934/0.4132, allocations: 281.2 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4132, allocations: 51.41 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4134, allocations: 156.8 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.4134, allocations: 25.7 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.4135, allocations: 108 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.4135, allocations: 27.64 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.4136, allocations: 29.69 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4138, allocations: 326.8 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.414, allocations: 71.92 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.4143, allocations: 75.92 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.4148, allocations: 169.1 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4148, allocations: 0 / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000591/0.4154, allocations: 205.2 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4154, allocations: 4 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4155, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4155, allocations: 4 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4157, allocations: 35.95 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4158, allocations: 4 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4159, allocations: 23.91 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.416, allocations: 7.984 kB / 1.213 GB, free: 3.715 MB / 0.9669 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.0001406/0.4161, allocations: 125.8 kB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.4162, allocations: 11.84 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.4162, allocations: 24.64 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4162, allocations: 0 / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4162, allocations: 0 / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4163, allocations: 0 / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.4165, allocations: 229.5 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4166, allocations: 0 / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.4168, allocations: 51.83 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.133e-05/0.4168, allocations: 3.984 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.4168, allocations: 4 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4169, allocations: 0 / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4169, allocations: 0 / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.4175, allocations: 307.2 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.4176, allocations: 84.95 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.4176, allocations: 4 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.4178, allocations: 16.16 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.418, allocations: 39.95 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.418, allocations: 3.938 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.4181, allocations: 117.7 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4181, allocations: 0 / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002446/0.4183, allocations: 31.84 kB / 1.214 GB, free: 2.586 MB / 0.9669 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.000164/0.4185, allocations: 95.25 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000594/0.4191, allocations: 179.8 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4191, allocations: 0 / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.4194, allocations: 95.86 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.4197, allocations: 25.62 kB / 1.215 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.4203, allocations: 230.1 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4206, allocations: 0.7085 MB / 1.216 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.99e-05/0.4207, allocations: 16.44 kB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.4208, allocations: 27.41 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.4208, allocations: 4 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of Templates: time 0.005587/0.4264, allocations: 2.404 MB / 1.218 GB, free: 14.77 MB / 0.9825 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