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.007815/0.007815, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001598/0.001598, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.49/2.49, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.34 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002135/0.3296, allocations: 0.8474 MB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3308, allocations: 0.8935 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.3309, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.331, allocations: 7.875 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3311, allocations: 19.78 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3313, allocations: 59.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.3315, allocations: 127.7 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3317, allocations: 44.84 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.3318, allocations: 67.81 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3319, allocations: 75.72 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.332, allocations: 12 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.332, allocations: 12 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.3321, allocations: 35.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.3322, allocations: 63.64 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3324, allocations: 135.5 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3324, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3324, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3324, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 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.000841/0.3333, allocations: 450.9 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3333, allocations: 8.031 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.3334, allocations: 20.73 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3336, allocations: 208.6 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3337, allocations: 12.12 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3337, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.3341, allocations: 153.5 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3342, allocations: 3.984 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3342, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3342, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.3348, allocations: 159.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.3355, allocations: 420.3 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.3364, allocations: 174.6 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3367, allocations: 90.23 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3368, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.3368, allocations: 34.56 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3368, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001017/0.3379, allocations: 277.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3379, allocations: 55.41 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3381, allocations: 150.4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3381, allocations: 25.7 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3382, allocations: 112 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.3383, allocations: 35.48 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.3383, allocations: 29.7 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3385, allocations: 318.8 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3388, allocations: 75.92 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3391, allocations: 76.3 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.3396, allocations: 156.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3396, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005948/0.3402, allocations: 209.3 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3402, allocations: 8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3402, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3403, allocations: 3.938 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.3405, allocations: 43.88 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3405, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3407, allocations: 31.81 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3407, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 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.0001044/0.3408, allocations: 113.8 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3409, allocations: 15.84 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.3409, allocations: 16.7 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.341, allocations: 4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.341, allocations: 4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.341, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3412, allocations: 237.5 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3412, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3415, allocations: 39.89 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3415, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3415, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3415, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3415, allocations: 3.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.3422, allocations: 307.2 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.3423, allocations: 88.95 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.3423, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3425, allocations: 31.91 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.3427, allocations: 31.95 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3427, allocations: 4 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.461e-05/0.3428, allocations: 115.2 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3428, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002507/0.343, allocations: 19.94 kB / 1.094 GB, free: 10.48 MB / 0.8575 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.000181/0.3432, allocations: 103.2 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006327/0.3439, allocations: 171.8 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3439, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.3442, allocations: 99.86 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3445, allocations: 25.47 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.345, allocations: 250.1 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3453, allocations: 0.7007 MB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3455, allocations: 24.42 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.3456, allocations: 27.42 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3456, allocations: 3.938 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of Templates: time 0.005369/0.3509, allocations: 2.472 MB / 1.098 GB, free: 6.582 MB / 0.8575 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