Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001068/0.001068, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004113, allocations: 12.16 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.358, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001167/0.3592, allocations: 0.5462 MB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3605, allocations: 0.882 MB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.3605, allocations: 3.938 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.3607, allocations: 19.86 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3608, allocations: 7.922 kB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.361, allocations: 39.95 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3611, allocations: 119.7 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3613, allocations: 33.3 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.3614, allocations: 43.83 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.3615, allocations: 67.73 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.3616, allocations: 4 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.3616, allocations: 4 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.3617, allocations: 31.89 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.3617, allocations: 37.64 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.3618, allocations: 95.77 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3619, allocations: 4 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3619, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3619, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 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.0008214/0.3627, allocations: 439 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3628, allocations: 12.03 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.3628, allocations: 11.81 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3631, allocations: 196.8 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3631, allocations: 11.95 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3631, allocations: 4 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.3635, allocations: 171.1 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3636, allocations: 0 / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.3636, allocations: 0 / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3636, allocations: 4 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.3641, allocations: 191.8 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.3649, allocations: 424.5 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/0.3657, allocations: 190.5 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.366, allocations: 100.8 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3661, allocations: 8 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3661, allocations: 34.56 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.3661, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0009168/0.367, allocations: 325.2 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3671, allocations: 51.41 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3673, allocations: 149.4 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3673, allocations: 25.7 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.3674, allocations: 119.9 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3674, allocations: 27.64 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.3674, allocations: 0 / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3676, allocations: 330.8 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3678, allocations: 87.88 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.3681, allocations: 91.92 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.3684, allocations: 91.92 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3684, allocations: 0 / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005995/0.369, allocations: 237.4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.369, allocations: 9.562 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.369, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.369, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3693, allocations: 48.61 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.3693, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3695, allocations: 27.88 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3695, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 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.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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.3696, allocations: 141.7 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.3697, allocations: 11.84 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.3697, allocations: 16.72 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3697, allocations: 3.938 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3697, allocations: 0 / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3697, allocations: 0 / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.37, allocations: 237.5 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.37, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.3703, allocations: 51.95 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3703, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3703, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3703, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3703, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.3709, allocations: 335.1 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.371, allocations: 92.95 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.371, allocations: 0 / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3712, allocations: 35.95 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.3713, allocations: 27.97 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3713, allocations: 7.984 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.389e-05/0.3714, allocations: 117.7 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3714, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002362/0.3717, allocations: 19.94 kB / 1.064 GB, free: 14.64 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.3718, allocations: 107.2 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.3724, allocations: 195.8 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3724, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.3727, allocations: 119.8 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.373, allocations: 16.45 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.3736, allocations: 273.1 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3739, allocations: 0.7043 MB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.374, allocations: 28.41 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.3741, allocations: 23.42 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of SimCode: time 7.194e-06/0.3741, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.004688/0.3788, allocations: 1.97 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches