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.001202/0.001202, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001291, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.53 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002101/0.3471, allocations: 0.8649 MB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3482, allocations: 0.8935 MB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.3483, allocations: 4 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3484, allocations: 11.81 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3485, allocations: 15.84 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.3487, allocations: 67.86 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.3489, allocations: 123.7 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3491, allocations: 45.09 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.3492, allocations: 63.75 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3494, allocations: 79.84 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.3494, allocations: 15.94 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.414e-05/0.3494, allocations: 12 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.3495, allocations: 27.91 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.3496, allocations: 59.7 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.3498, allocations: 143.3 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3498, allocations: 4 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3498, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3498, allocations: 0 / 1.029 GB, free: 15.68 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.0008402/0.3507, allocations: 446.9 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3507, allocations: 11.97 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.3508, allocations: 16.75 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.351, allocations: 205.9 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3511, allocations: 12.38 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3511, allocations: 7.938 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.3515, allocations: 153.5 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3515, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3515, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3516, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.3521, allocations: 157.6 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.3528, allocations: 420.3 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008131/0.3536, allocations: 170.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.3539, allocations: 88.89 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3539, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.354, allocations: 42.55 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.354, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.00089/0.3549, allocations: 273.2 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3549, allocations: 55.41 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3551, allocations: 147.7 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3551, allocations: 29.7 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.3552, allocations: 104 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3552, allocations: 27.56 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.3553, allocations: 33.69 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3554, allocations: 318.8 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.3557, allocations: 75.92 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3559, allocations: 72.3 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.3565, allocations: 168.8 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3565, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005736/0.3571, allocations: 205.3 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3571, allocations: 7.938 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.3571, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3571, allocations: 4 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.3574, allocations: 35.95 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3574, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3576, allocations: 27.81 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3576, allocations: 11.98 kB / 1.032 GB, free: 12.18 MB / 0.8106 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.0001177/0.3577, allocations: 121.8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3578, allocations: 15.84 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.3578, allocations: 20.64 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3579, allocations: 4 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3579, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3579, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.3581, allocations: 233.6 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3581, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3584, allocations: 43.94 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3584, allocations: 3.938 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3584, allocations: 4 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3584, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3584, allocations: 4 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.359, allocations: 307.2 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.3591, allocations: 88.95 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3591, allocations: 3.984 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3593, allocations: 23.97 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3595, allocations: 31.95 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3595, allocations: 4 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.973e-05/0.3596, allocations: 117.1 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3596, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002552/0.3598, allocations: 23.94 kB / 1.033 GB, free: 11.06 MB / 0.8106 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.0001387/0.36, allocations: 107.2 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006031/0.3606, allocations: 163.8 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3606, allocations: 4 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.3609, allocations: 99.86 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3612, allocations: 19.92 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.3618, allocations: 242.1 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3621, allocations: 0.7079 MB / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3622, allocations: 24.42 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.3622, allocations: 23.42 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of SimCode: time 6.21e-07/0.3623, allocations: 0 / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of Templates: time 0.00525/0.3675, allocations: 2.409 MB / 1.037 GB, free: 7.23 MB / 0.8106 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 -s gbode -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/jenkins1/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