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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001434/0.001434, allocations: 119.2 kB / 16.37 MB, free: 6.012 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.001443/0.001443, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 64.47 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3781, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002387/0.3805, allocations: 0.8648 MB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3819, allocations: 0.9013 MB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.3819, allocations: 0 / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.3821, allocations: 15.8 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3822, allocations: 11.88 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.3824, allocations: 63.84 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3827, allocations: 123.7 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.3828, allocations: 53.02 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.383, allocations: 55.91 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.3832, allocations: 83.72 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.3832, allocations: 12 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.3833, allocations: 12 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.3833, allocations: 39.88 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.3834, allocations: 51.67 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3836, allocations: 143.4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3836, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3837, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3837, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 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.0009125/0.3846, allocations: 454.8 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3846, allocations: 12.03 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.3847, allocations: 12.75 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.385, allocations: 197.9 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.385, allocations: 8.359 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.385, allocations: 11.94 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.3854, allocations: 145.6 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3855, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.3855, allocations: 11.94 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3855, allocations: 0 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.386, allocations: 155.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.3868, allocations: 428.3 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.3876, allocations: 166.6 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3879, allocations: 88.81 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3879, allocations: 4 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.388, allocations: 34.5 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.388, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0008829/0.3889, allocations: 285.2 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3889, allocations: 51.41 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3891, allocations: 152.1 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3891, allocations: 25.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.3892, allocations: 112 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3892, allocations: 27.56 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.3893, allocations: 29.7 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3894, allocations: 322.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.3896, allocations: 71.92 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3899, allocations: 79.92 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.3904, allocations: 156.7 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3904, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005764/0.391, allocations: 205.9 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.391, allocations: 8.031 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.391, allocations: 3.938 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.391, allocations: 4 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.3913, allocations: 35.95 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3913, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3915, allocations: 31.81 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3915, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 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.0001293/0.3916, allocations: 129.8 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.3917, allocations: 11.84 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.3917, allocations: 16.72 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3917, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3918, allocations: 3.984 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3918, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.392, allocations: 233.6 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.392, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.3923, allocations: 43.89 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3923, allocations: 7.922 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3923, allocations: 7.984 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3923, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3923, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.393, allocations: 307.1 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.393, allocations: 84.95 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3931, allocations: 4 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3933, allocations: 23.97 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3934, allocations: 35.91 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3934, allocations: 7.984 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.3935, allocations: 105.1 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3935, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002504/0.3938, allocations: 27.94 kB / 1.033 GB, free: 10.99 MB / 0.8106 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.0001476/0.3939, allocations: 103.2 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.3945, allocations: 175.8 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3945, allocations: 0 / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.3948, allocations: 99.84 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3951, allocations: 25.47 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.3958, allocations: 230.1 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3961, allocations: 0.708 MB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.823e-05/0.3962, allocations: 24.42 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.3963, allocations: 23.42 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3963, allocations: 0 / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of Templates: time 0.004972/0.4013, allocations: 2.407 MB / 1.037 GB, free: 7.168 MB / 0.8106 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 -s cvode -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