Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 165.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.737/2.737, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.629e-05, allocations: 3.078 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002315/0.002351, allocations: 0.8263 MB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.003984, allocations: 0.9273 MB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.004083, allocations: 7.938 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.004219, allocations: 11.86 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.004348, allocations: 8.625 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.004607, allocations: 64.77 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.004851, allocations: 131.7 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.005011, allocations: 26.55 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.005164, allocations: 79.8 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.005336, allocations: 63.84 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.005379, allocations: 13.25 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.802e-05/0.005407, allocations: 12 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.005483, allocations: 39.89 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.005565, allocations: 41.52 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.005829, allocations: 155.5 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005833, allocations: 0 / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005834, allocations: 0 / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.005852, allocations: 3.938 kB / 0.7887 GB, free: 10.41 MB / 0.7448 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.001029/0.006882, allocations: 367.3 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.006924, allocations: 13.44 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.007015, allocations: 24.83 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.007273, allocations: 142.1 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.007298, allocations: 8.375 kB / 0.7893 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.007326, allocations: 13.44 kB / 0.7893 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.007845, allocations: 146.8 kB / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007855, allocations: 0 / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.007878, allocations: 8 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.007883, allocations: 1.531 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.008503, allocations: 160.4 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.009247, allocations: 328.2 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.01019, allocations: 171.2 kB / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.01051, allocations: 82.52 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.01054, allocations: 4 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.01057, allocations: 32.31 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.01057, allocations: 0 / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.001108/0.01168, allocations: 284.2 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.01174, allocations: 59.33 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01193, allocations: 152.2 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.01195, allocations: 29.7 kB / 0.7907 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.01205, allocations: 104.1 kB / 0.7908 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.0121, allocations: 31.73 kB / 0.7908 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.01218, allocations: 29.7 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.01237, allocations: 323.5 kB / 0.7911 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.01269, allocations: 81.11 kB / 0.7912 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.01297, allocations: 73.86 kB / 0.7913 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.01355, allocations: 154.6 kB / 0.7914 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01355, allocations: 3.938 kB / 0.7914 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007963/0.01434, allocations: 200.6 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.01437, allocations: 7.984 kB / 0.7916 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01437, allocations: 0.8438 kB / 0.7916 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.0144, allocations: 3.938 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.01469, allocations: 44.78 kB / 0.7917 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.0147, allocations: 1.344 kB / 0.7917 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.01488, allocations: 31.86 kB / 0.7917 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.0149, allocations: 4 kB / 0.7917 GB, free: 7.211 MB / 0.7448 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.0001533/0.01505, allocations: 131 kB / 0.7918 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.0151, allocations: 7.953 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.01515, allocations: 18.69 kB / 0.7919 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.01515, allocations: 3.938 kB / 0.7919 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01516, allocations: 0 / 0.7919 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01516, allocations: 0 / 0.7919 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.01543, allocations: 165.2 kB / 0.792 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01543, allocations: 0.875 kB / 0.792 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.0157, allocations: 43.33 kB / 0.7921 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.0157, allocations: 4 kB / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.01572, allocations: 0 / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01572, allocations: 0 / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.01572, allocations: 3.938 kB / 0.7921 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.01651, allocations: 307.9 kB / 0.7924 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.01654, allocations: 4.453 kB / 0.7924 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01657, allocations: 5.812 kB / 0.7924 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.01678, allocations: 19.97 kB / 0.7924 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.01691, allocations: 35.89 kB / 0.7924 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.01692, allocations: 7.984 kB / 0.7924 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001061/0.01703, allocations: 111.9 kB / 0.7925 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01703, allocations: 0 / 0.7925 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002801/0.01731, allocations: 28.55 kB / 0.7926 GB, free: 6.289 MB / 0.7448 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.0001647/0.01748, allocations: 106.4 kB / 0.7927 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006702/0.01815, allocations: 159.8 kB / 0.7928 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01815, allocations: 6.656 kB / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.0185, allocations: 103.8 kB / 0.7929 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.01883, allocations: 23.92 kB / 0.793 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.01952, allocations: 249.4 kB / 0.7932 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.01964, allocations: 91.53 kB / 0.7933 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.01976, allocations: 22.23 kB / 0.7933 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01987, allocations: 32.48 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01987, allocations: 0 / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.006822/0.02669, allocations: 2.591 MB / 0.7959 GB, free: 2.914 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.864425734034739]