Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001112/0.001112, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.492/1.492, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003717, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.761, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001197/0.7622, allocations: 0.5633 MB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.7635, allocations: 0.8895 MB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.7637, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.7638, allocations: 7.922 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.7639, allocations: 23.86 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.7642, allocations: 47.94 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.7644, allocations: 119.7 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.7645, allocations: 41.09 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.7647, allocations: 51.77 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.7648, allocations: 63.73 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.7649, allocations: 7.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.7649, allocations: 8 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.765, allocations: 19.91 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.7651, allocations: 85.34 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.7652, allocations: 99.77 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7652, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7652, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7652, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 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.0008888/0.7661, allocations: 445 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7662, allocations: 8.031 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.7662, allocations: 8.844 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.7665, allocations: 205.1 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.7665, allocations: 12.12 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.7665, allocations: 12 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.767, allocations: 165.5 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7671, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.7671, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.7671, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.7678, allocations: 193.5 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007701/0.7685, allocations: 412.5 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/0.7695, allocations: 194.5 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.7698, allocations: 108.9 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.7698, allocations: 3.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.7699, allocations: 34.56 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.7699, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.001077/0.771, allocations: 329.2 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.771, allocations: 51.41 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.7712, allocations: 161.2 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.7712, allocations: 25.7 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.7713, allocations: 108.3 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.7714, allocations: 35.53 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.7714, allocations: 17.72 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7716, allocations: 322.8 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.7719, allocations: 91.86 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.7722, allocations: 95.92 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.7728, allocations: 184.7 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7728, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006816/0.7735, allocations: 245.3 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7735, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7735, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7735, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.7738, allocations: 55.89 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7738, allocations: 0 / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.774, allocations: 31.88 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.774, allocations: 3.938 kB / 1.029 GB, free: 10.1 MB / 0.7794 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.0001258/0.7742, allocations: 130.4 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.7742, allocations: 11.84 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.7743, allocations: 16.72 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7743, allocations: 0 / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7743, allocations: 0 / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7743, allocations: 3.984 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.7746, allocations: 233.5 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7746, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.7749, allocations: 51.89 kB / 1.03 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.7749, allocations: 288 / 1.03 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.7749, allocations: 7.984 kB / 1.03 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7749, allocations: 3.938 kB / 1.03 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7749, allocations: 3.938 kB / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.7757, allocations: 339.1 kB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.7758, allocations: 88.95 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.7758, allocations: 0 / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.776, allocations: 27.97 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.7761, allocations: 35.95 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.7762, allocations: 4 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.7763, allocations: 113.9 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7763, allocations: 0 / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002643/0.7765, allocations: 20 kB / 1.03 GB, free: 8.934 MB / 0.7794 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.0001578/0.7767, allocations: 103.2 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006764/0.7774, allocations: 203.8 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7774, allocations: 0 / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.7777, allocations: 115.9 kB / 1.031 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.7781, allocations: 18.31 kB / 1.031 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.7787, allocations: 310.6 kB / 1.031 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.779, allocations: 0.7004 MB / 1.032 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.7792, allocations: 23.41 kB / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7792, allocations: 480 / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of Templates: time 0.00401/0.7832, allocations: 1.804 MB / 1.033 GB, free: 5.625 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches