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.001656/0.001656, 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.002133/0.002134, allocations: 194.5 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.863/2.863, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.14 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3468, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002253/0.3491, allocations: 0.922 MB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3503, allocations: 0.9013 MB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.3504, allocations: 4 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.3505, allocations: 7.922 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3506, allocations: 7.938 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.3508, allocations: 55.88 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.351, allocations: 123.7 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3512, allocations: 52.97 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.3513, allocations: 51.78 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3514, allocations: 75.72 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3515, allocations: 8 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.76e-05/0.3515, allocations: 8 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.3516, allocations: 35.83 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.3517, allocations: 47.72 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3519, allocations: 131.5 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3519, allocations: 8 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.031e-06/0.3519, allocations: 0 / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3519, allocations: 0 / 1.054 GB, free: 6.375 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.0008979/0.3528, allocations: 447.2 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3528, allocations: 8.031 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.3529, allocations: 8.844 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3531, allocations: 202.7 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3532, allocations: 12.38 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.3532, allocations: 15.94 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.3536, allocations: 143.1 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3536, allocations: 4 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.3537, allocations: 4 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3537, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.3543, allocations: 163.8 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.355, allocations: 420.3 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.3559, allocations: 178.5 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.3562, allocations: 92.91 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3562, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3562, allocations: 30.56 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.3562, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0009711/0.3572, allocations: 289.2 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.3573, allocations: 51.41 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3574, allocations: 143.9 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3574, allocations: 25.7 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.3575, allocations: 112 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3575, allocations: 39.47 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.3576, allocations: 29.7 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.3577, allocations: 322.8 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.358, allocations: 71.92 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.3583, allocations: 75.92 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.3588, allocations: 153.3 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3588, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005893/0.3594, allocations: 217.3 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3594, allocations: 7.938 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3594, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3594, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3597, allocations: 43.89 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3597, allocations: 3.984 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.3599, allocations: 31.81 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.3599, allocations: 4 kB / 1.058 GB, free: 2.867 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.0001098/0.36, allocations: 121.8 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.3601, allocations: 15.84 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3601, allocations: 12.72 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3602, allocations: 4 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3602, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3602, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.3604, allocations: 229.6 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3604, allocations: 4 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.3607, allocations: 39.95 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3607, allocations: 3.938 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3607, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3607, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3607, allocations: 7.922 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.3614, allocations: 299.2 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.3615, allocations: 92.94 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3615, allocations: 0 / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.3617, allocations: 23.91 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3618, allocations: 35.89 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3619, allocations: 8 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.3619, allocations: 113.3 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3619, allocations: 0 / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002608/0.3622, allocations: 24.12 kB / 1.059 GB, free: 1.762 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.0001309/0.3623, allocations: 103.2 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006613/0.363, allocations: 175.7 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.363, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.3634, allocations: 99.86 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3637, allocations: 19.92 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.3643, allocations: 271.8 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3646, allocations: 0.7043 MB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.3647, allocations: 24.42 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.3648, allocations: 19.42 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3648, allocations: 0 / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of Templates: time 0.004871/0.3697, allocations: 2.057 MB / 1.062 GB, free: 14.25 MB / 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