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.001304/0.001304, allocations: 106 kB / 16.36 MB, free: 5.875 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.001246/0.001246, allocations: 191 kB / 17.29 MB, free: 5.516 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.528/2.528, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 64.91 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.354, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002232/0.3563, allocations: 0.8586 MB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3574, allocations: 0.9028 MB / 1.021 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.3575, allocations: 4 kB / 1.021 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3576, allocations: 15.86 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3577, allocations: 11.81 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.3579, allocations: 59.92 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3581, allocations: 131.7 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3583, allocations: 45 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.3584, allocations: 59.83 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3585, allocations: 75.72 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.3586, allocations: 12 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.3586, allocations: 12 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.3587, allocations: 47.77 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.3588, allocations: 55.72 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3589, allocations: 139.5 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3589, allocations: 0 / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.246e-06/0.359, allocations: 0 / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.359, allocations: 0 / 1.021 GB, free: 7.426 MB / 0.795 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.0008604/0.3598, allocations: 454.8 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3599, allocations: 12.03 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.3599, allocations: 12.84 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.3602, allocations: 206.1 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.3602, allocations: 12.31 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3602, allocations: 7.938 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.3607, allocations: 149.5 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3607, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3607, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3607, allocations: 4 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.3613, allocations: 157.4 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.3619, allocations: 424.3 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.3628, allocations: 174.5 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.3631, allocations: 84.86 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3631, allocations: 7.984 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.3631, allocations: 34.56 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3632, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0009107/0.3641, allocations: 277.2 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3641, allocations: 55.41 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3643, allocations: 152 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3643, allocations: 25.7 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.3644, allocations: 108 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3644, allocations: 31.55 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.3645, allocations: 29.7 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3646, allocations: 322.8 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3649, allocations: 71.92 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.3651, allocations: 76.3 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.3656, allocations: 160.8 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3656, allocations: 0 / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005723/0.3662, allocations: 201.4 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3662, allocations: 15.92 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3662, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3663, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.3665, allocations: 39.89 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3665, allocations: 3.938 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3667, allocations: 31.81 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3667, allocations: 8 kB / 1.024 GB, free: 3.918 MB / 0.795 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.0001196/0.3669, allocations: 122.5 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3669, allocations: 15.84 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.367, allocations: 12.72 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.367, allocations: 7.984 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.367, allocations: 0 / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.367, allocations: 0 / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3672, allocations: 237.5 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3672, allocations: 0 / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.3675, allocations: 39.95 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3675, allocations: 3.938 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3675, allocations: 0 / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3675, allocations: 3.938 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3675, allocations: 0 / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.3682, allocations: 311.2 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.3682, allocations: 92.94 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3682, allocations: 0 / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3684, allocations: 23.97 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.3685, allocations: 27.97 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3686, allocations: 4 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.671e-05/0.3687, allocations: 121.9 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3687, allocations: 0 / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002468/0.3689, allocations: 19.94 kB / 1.025 GB, free: 2.805 MB / 0.795 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.0001388/0.3691, allocations: 103.2 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.3697, allocations: 171.8 kB / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3697, allocations: 0 / 1.026 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.37, allocations: 103.8 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3703, allocations: 15.94 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.3709, allocations: 246.1 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3712, allocations: 0.7002 MB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3713, allocations: 24.42 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.3714, allocations: 23.42 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3714, allocations: 4 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of Templates: time 0.005442/0.3768, allocations: 2.394 MB / 1.029 GB, free: 14.99 MB / 0.8106 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 -s cvode -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