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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001766/0.001766, allocations: 106 kB / 15.99 MB, free: 6.355 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.002035/0.002035, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.665 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 73.92 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.327, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002275/0.3293, allocations: 0.9047 MB / 0.9507 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3305, allocations: 0.9052 MB / 0.9515 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.3306, allocations: 4 kB / 0.9516 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3308, allocations: 3.938 kB / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3309, allocations: 11.86 kB / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.3311, allocations: 63.88 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.3313, allocations: 119.8 kB / 0.9517 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3315, allocations: 49.08 kB / 0.9518 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3316, allocations: 59.77 kB / 0.9518 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3318, allocations: 79.72 kB / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3318, allocations: 12 kB / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.3318, allocations: 12 kB / 0.9519 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.3319, allocations: 27.91 kB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.332, allocations: 63.64 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3321, allocations: 91.8 kB / 0.9521 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3322, allocations: 8 kB / 0.9521 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3322, allocations: 4 kB / 0.9521 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3322, allocations: 0 / 0.9521 GB, free: 6.781 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.0009328/0.3331, allocations: 451 kB / 0.9526 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3332, allocations: 8.031 kB / 0.9526 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.3332, allocations: 8.844 kB / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3335, allocations: 208.6 kB / 0.9528 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3335, allocations: 8.375 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.3335, allocations: 15.94 kB / 0.9528 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.334, allocations: 149.5 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.334, allocations: 4 kB / 0.9529 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.334, allocations: 0 / 0.9529 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3341, allocations: 0 / 0.9529 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.3346, allocations: 163.8 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.3354, allocations: 416.4 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.3362, allocations: 170.5 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.3365, allocations: 88.91 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3365, allocations: 7.984 kB / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3366, allocations: 30.56 kB / 0.9538 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3366, allocations: 0 / 0.9538 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0009266/0.3375, allocations: 289.5 kB / 0.9541 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.3376, allocations: 51.41 kB / 0.9541 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3378, allocations: 148.3 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3378, allocations: 29.7 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3379, allocations: 104 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.3379, allocations: 31.56 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.338, allocations: 33.7 kB / 0.9544 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3381, allocations: 326.8 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.3384, allocations: 71.92 kB / 0.9548 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3387, allocations: 71.92 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.3392, allocations: 156.7 kB / 0.955 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3392, allocations: 0 / 0.955 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006004/0.3398, allocations: 209.4 kB / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3398, allocations: 9.969 kB / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3399, allocations: 0 / 0.9552 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3399, allocations: 4 kB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.3401, allocations: 35.95 kB / 0.9553 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3402, allocations: 0 / 0.9553 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.3403, allocations: 31.84 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3404, allocations: 11.94 kB / 0.9553 GB, free: 3.281 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 0.0001184/0.3405, allocations: 121.3 kB / 0.9554 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.3405, allocations: 24.11 kB / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.3406, allocations: 12.72 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3406, allocations: 4 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3406, allocations: 0 / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3406, allocations: 7.922 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.3409, allocations: 233.6 kB / 0.9557 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3409, allocations: 4 kB / 0.9557 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.3411, allocations: 35.95 kB / 0.9558 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3411, allocations: 3.938 kB / 0.9558 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3412, allocations: 7.984 kB / 0.9558 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3412, allocations: 0 / 0.9558 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3412, allocations: 0 / 0.9558 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.3418, allocations: 299.2 kB / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3419, allocations: 92.86 kB / 0.9561 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3419, allocations: 4 kB / 0.9561 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.3421, allocations: 19.97 kB / 0.9562 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3422, allocations: 31.91 kB / 0.9562 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3423, allocations: 11.98 kB / 0.9562 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.3424, allocations: 113 kB / 0.9563 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3424, allocations: 0 / 0.9563 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002514/0.3426, allocations: 19.94 kB / 0.9563 GB, free: 2.168 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.0001487/0.3428, allocations: 107.2 kB / 0.9564 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006253/0.3434, allocations: 179.8 kB / 0.9566 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3434, allocations: 0 / 0.9566 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.3437, allocations: 95.84 kB / 0.9567 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.344, allocations: 12.41 kB / 0.9567 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.3446, allocations: 303.6 kB / 0.957 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3449, allocations: 0.7195 MB / 0.9577 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.345, allocations: 19.42 kB / 0.9577 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.345, allocations: 0 / 0.9577 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of Templates: time 0.003673/0.3487, allocations: 1.822 MB / 0.9595 GB, free: 14.86 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 -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