Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001608/0.001608, allocations: 112.6 kB / 16.37 MB, free: 6 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.001678/0.001678, allocations: 196 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.389/1.389, 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 9.1.2-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.56 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2606, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002019/0.2626, allocations: 0.8488 MB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.2637, allocations: 0.8935 MB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.2637, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.615e-05/0.2638, allocations: 11.81 kB / 0.9529 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2639, allocations: 19.84 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.2641, allocations: 63.86 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2643, allocations: 127.7 kB / 0.9531 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2644, allocations: 41.11 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.2645, allocations: 59.81 kB / 0.9532 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2647, allocations: 75.72 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2647, allocations: 16 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.229e-05/0.2647, allocations: 12 kB / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.2648, allocations: 39.78 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.2649, allocations: 55.7 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.265, allocations: 139.5 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.265, allocations: 0 / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2651, allocations: 4 kB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2651, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7325 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.0007653/0.2658, allocations: 458.8 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2659, allocations: 8.031 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.2659, allocations: 20.77 kB / 0.9539 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.2661, allocations: 206.5 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2662, allocations: 8.375 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.2662, allocations: 19.88 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.2666, allocations: 143.5 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2666, allocations: 0 / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.2666, allocations: 4 kB / 0.9543 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2666, allocations: 4 kB / 0.9543 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.2672, allocations: 155.8 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.2678, allocations: 416.3 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/0.2686, allocations: 174.4 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.2689, allocations: 88.95 kB / 0.9551 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2689, allocations: 0 / 0.9551 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2689, allocations: 30.56 kB / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.2689, allocations: 4 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0009034/0.2698, allocations: 281.2 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2699, allocations: 55.41 kB / 0.9555 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.27, allocations: 148.3 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.27, allocations: 29.7 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.2701, allocations: 108 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.2702, allocations: 27.56 kB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.2702, allocations: 26.08 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2703, allocations: 322.8 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.2706, allocations: 75.92 kB / 0.9562 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2709, allocations: 79.8 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.2713, allocations: 156.7 kB / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2714, allocations: 0 / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005604/0.2719, allocations: 205.4 kB / 0.9566 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.272, allocations: 7.938 kB / 0.9566 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.272, allocations: 3.938 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.272, allocations: 0 / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2722, allocations: 39.95 kB / 0.9566 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2723, allocations: 0 / 0.9566 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.2724, allocations: 27.91 kB / 0.9567 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.2724, allocations: 7.984 kB / 0.9567 GB, free: 2.148 MB / 0.7325 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 9.806e-05/0.2725, allocations: 125.8 kB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.2726, allocations: 15.75 kB / 0.9568 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.2726, allocations: 24.7 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2727, allocations: 4 kB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2727, allocations: 0 / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2727, allocations: 0 / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.2729, allocations: 229.6 kB / 0.9571 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2729, allocations: 0 / 0.9571 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.2732, allocations: 35.95 kB / 0.9571 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2732, allocations: 3.938 kB / 0.9571 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2732, allocations: 7.984 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2732, allocations: 4.281 kB / 0.9571 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2732, allocations: 0 / 0.9571 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.2738, allocations: 299.2 kB / 0.9574 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.2739, allocations: 96.86 kB / 0.9575 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.2739, allocations: 4 kB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2741, allocations: 19.97 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.2742, allocations: 27.97 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.2742, allocations: 11.98 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.148e-05/0.2743, allocations: 112.6 kB / 0.9577 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2743, allocations: 0 / 0.9577 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002536/0.2746, allocations: 27.94 kB / 0.9577 GB, free: 1.027 MB / 0.7325 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.0001269/0.2747, allocations: 103.2 kB / 0.9578 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005773/0.2753, allocations: 167.8 kB / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2753, allocations: 0 / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.2756, allocations: 99.91 kB / 0.958 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.2759, allocations: 23.92 kB / 0.9581 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.2765, allocations: 238.1 kB / 0.9583 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2767, allocations: 0.7078 MB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.882e-05/0.2768, allocations: 28.41 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.2769, allocations: 27.36 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.2769, allocations: 0 / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.00486/0.2818, allocations: 2.402 MB / 0.9614 GB, free: 13.2 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches