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.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 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.001597/0.001597, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.58/2.58, allocations: 390.2 MB / 0.6646 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 64.09 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7314, allocations: 140.4 MB / 0.9496 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001954/0.7334, allocations: 0.8419 MB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.7343, allocations: 0.9009 MB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.7344, allocations: 2.312 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.7345, allocations: 11.86 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.7346, allocations: 17.69 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.7348, allocations: 58.39 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.7349, allocations: 128.5 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.7351, allocations: 48.08 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.7352, allocations: 55.95 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.7353, allocations: 83.03 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.7354, allocations: 11.91 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.7354, allocations: 16.62 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.7355, allocations: 33.5 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.7355, allocations: 57.77 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.7357, allocations: 130.1 kB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7357, allocations: 5.5 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7357, allocations: 0 / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7357, allocations: 3.984 kB / 0.9519 GB, free: 7.438 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.0007949/0.7365, allocations: 444.6 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7366, allocations: 9.25 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.7366, allocations: 11.19 kB / 0.9524 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.7369, allocations: 216.9 kB / 0.9526 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.7369, allocations: 8.188 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.7369, allocations: 12.94 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.7374, allocations: 152.5 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7374, allocations: 0 / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7374, allocations: 1.125 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7374, allocations: 2.219 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/0.738, allocations: 159 kB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.7386, allocations: 418.2 kB / 0.9533 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.7395, allocations: 174.5 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.7397, allocations: 83.11 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.7398, allocations: 5.156 kB / 0.9536 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.7398, allocations: 35.59 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.7398, allocations: 0 / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0009386/0.7407, allocations: 285.5 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.7408, allocations: 56.59 kB / 0.9539 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7409, allocations: 150.3 kB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.7409, allocations: 31.02 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.741, allocations: 105 kB / 0.9542 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.741, allocations: 27.25 kB / 0.9542 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.7411, allocations: 30.8 kB / 0.9542 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.7411, allocations: 321.2 kB / 0.9545 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.7414, allocations: 79.2 kB / 0.9546 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.7417, allocations: 74.36 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.7422, allocations: 157.8 kB / 0.9548 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7422, allocations: 0 / 0.9548 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005834/0.7428, allocations: 203.4 kB / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7429, allocations: 8.312 kB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7429, allocations: 0.6562 kB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7429, allocations: 11.56 kB / 0.9551 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.7431, allocations: 32.39 kB / 0.9551 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.7432, allocations: 3.562 kB / 0.9551 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7433, allocations: 22.56 kB / 0.9551 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.7433, allocations: 7.828 kB / 0.9551 GB, free: 4.832 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 8.172e-05/0.7434, allocations: 117.6 kB / 0.9552 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.7435, allocations: 25.09 kB / 0.9553 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.7435, allocations: 19.3 kB / 0.9553 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7435, allocations: 1.25 kB / 0.9553 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7435, allocations: 0 / 0.9553 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7436, allocations: 0 / 0.9553 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.7438, allocations: 236.4 kB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7438, allocations: 1.062 kB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.744, allocations: 35.52 kB / 0.9555 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.744, allocations: 3.938 kB / 0.9555 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.7441, allocations: 14.67 kB / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7441, allocations: 0 / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7441, allocations: 0 / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.7447, allocations: 298.2 kB / 0.9558 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.7447, allocations: 91.64 kB / 0.9559 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.7448, allocations: 8.906 kB / 0.9559 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.745, allocations: 18.66 kB / 0.956 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.7451, allocations: 29.59 kB / 0.956 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.7451, allocations: 7.891 kB / 0.956 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.7452, allocations: 117.3 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7452, allocations: 1.375 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002567/0.7454, allocations: 17.69 kB / 0.9561 GB, free: 3.945 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.0001338/0.7456, allocations: 110.4 kB / 0.9562 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.7462, allocations: 179 kB / 0.9564 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7462, allocations: 4 kB / 0.9564 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.7466, allocations: 97.89 kB / 0.9565 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.7469, allocations: 18.89 kB / 0.9565 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.7474, allocations: 234.9 kB / 0.9567 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.7475, allocations: 0.7135 MB / 0.9574 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.7477, allocations: 21.09 kB / 0.9574 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.7477, allocations: 30.16 kB / 0.9575 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7478, allocations: 3.938 kB / 0.9575 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.005134/0.7529, allocations: 2.404 MB / 0.9598 GB, free: 1.562 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/jenkins/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