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.0007965/0.0007966, allocations: 99.42 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.0008591/0.0008592, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.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.389/2.389, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005331/0.0005331, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7698, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00103/0.7708, allocations: 0.5557 MB / 0.9563 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.7718, allocations: 0.897 MB / 0.9571 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.7719, allocations: 1.312 kB / 0.9571 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.772, allocations: 9.094 kB / 0.9571 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.7721, allocations: 14.23 kB / 0.9572 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.7723, allocations: 49.75 kB / 0.9572 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.7725, allocations: 119.2 kB / 0.9573 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.7726, allocations: 46.39 kB / 0.9574 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.7727, allocations: 42.47 kB / 0.9574 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.7729, allocations: 73.66 kB / 0.9575 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.7729, allocations: 5.031 kB / 0.9575 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.7729, allocations: 9.125 kB / 0.9575 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.773, allocations: 26.44 kB / 0.9575 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.773, allocations: 78.31 kB / 0.9576 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.7732, allocations: 88.75 kB / 0.9577 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7732, allocations: 0 / 0.9577 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7732, allocations: 1.125 kB / 0.9577 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7732, allocations: 0 / 0.9577 GB, free: 6.16 MB / 0.7169 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.000728/0.7739, allocations: 446.2 kB / 0.9581 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.774, allocations: 10.28 kB / 0.9581 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.774, allocations: 10.66 kB / 0.9581 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.7742, allocations: 215.7 kB / 0.9583 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.7742, allocations: 8.844 kB / 0.9583 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.7742, allocations: 16.81 kB / 0.9584 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.7747, allocations: 156.9 kB / 0.9585 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7747, allocations: 0 / 0.9585 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.7747, allocations: 9.062 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.7747, allocations: 6.516 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.7753, allocations: 183.6 kB / 0.9587 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.7759, allocations: 417.3 kB / 0.9591 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.7768, allocations: 188.8 kB / 0.9593 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.7771, allocations: 105.9 kB / 0.9594 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.7771, allocations: 5.359 kB / 0.9594 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.7772, allocations: 36.25 kB / 0.9594 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7772, allocations: 0 / 0.9594 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000996/0.7782, allocations: 333.8 kB / 0.9597 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.7782, allocations: 60.72 kB / 0.9598 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.7783, allocations: 149 kB / 0.9599 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.7784, allocations: 27.08 kB / 0.96 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.7784, allocations: 108.1 kB / 0.9601 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.7784, allocations: 27.69 kB / 0.9601 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.7785, allocations: 21.83 kB / 0.9601 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.7785, allocations: 321.6 kB / 0.9604 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.7788, allocations: 93.55 kB / 0.9605 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.7791, allocations: 93.48 kB / 0.9606 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.7797, allocations: 195.2 kB / 0.9608 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7797, allocations: 0 / 0.9608 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006425/0.7803, allocations: 231.6 kB / 0.961 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7804, allocations: 9.344 kB / 0.961 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7804, allocations: 0 / 0.961 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7804, allocations: 1.094 kB / 0.961 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.7807, allocations: 46.73 kB / 0.9611 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7807, allocations: 5.016 kB / 0.9611 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.7809, allocations: 26.12 kB / 0.9611 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.7809, allocations: 7 kB / 0.9611 GB, free: 3.539 MB / 0.7169 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.89e-05/0.781, allocations: 124.2 kB / 0.9612 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.7811, allocations: 16.62 kB / 0.9612 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.7811, allocations: 19.52 kB / 0.9612 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.7811, allocations: 1.531 kB / 0.9612 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7811, allocations: 0 / 0.9612 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7811, allocations: 0.75 kB / 0.9612 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.7814, allocations: 240.5 kB / 0.9615 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7814, allocations: 0 / 0.9615 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.7816, allocations: 46.83 kB / 0.9615 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7816, allocations: 4.844 kB / 0.9615 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.7816, allocations: 1 kB / 0.9615 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7817, allocations: 4.969 kB / 0.9615 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7817, allocations: 1.031 kB / 0.9615 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.7823, allocations: 335.3 kB / 0.9618 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.7824, allocations: 95.16 kB / 0.9619 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.7824, allocations: 1.906 kB / 0.9619 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.7826, allocations: 33.12 kB / 0.962 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.7827, allocations: 34.14 kB / 0.962 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.7828, allocations: 10.86 kB / 0.962 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.7828, allocations: 110.1 kB / 0.9621 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7828, allocations: 0 / 0.9621 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002575/0.7831, allocations: 23 kB / 0.9621 GB, free: 2.641 MB / 0.7169 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.0001291/0.7832, allocations: 109.4 kB / 0.9622 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006837/0.7839, allocations: 200.9 kB / 0.9624 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7839, allocations: 0 / 0.9624 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.7843, allocations: 110.8 kB / 0.9625 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.7846, allocations: 15.91 kB / 0.9626 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.7852, allocations: 309.5 kB / 0.9629 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.7853, allocations: 0.7022 MB / 0.9635 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.7854, allocations: 27.7 kB / 0.9636 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.7854, allocations: 0 / 0.9636 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.003369/0.7888, allocations: 1.798 MB / 0.9653 GB, free: 0.5078 MB / 0.7169 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