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.00254/0.00254, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.002746/0.002746, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.293 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 3.004/3.004, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.424e-06/2.424e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.293e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002185/0.002218, allocations: 0.8428 MB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.003646, allocations: 0.921 MB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.003709, allocations: 4 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003826, allocations: 12.88 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003946, allocations: 19.84 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.004151, allocations: 61.36 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.004365, allocations: 131.7 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.004502, allocations: 33.22 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.004642, allocations: 81.08 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.004787, allocations: 55.86 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.004825, allocations: 15.94 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.004852, allocations: 14.12 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.004924, allocations: 39.89 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.004987, allocations: 35.91 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.005225, allocations: 151.5 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005229, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00523, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005235, allocations: 6.094 kB / 0.7887 GB, free: 10.39 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.0008475/0.006083, allocations: 455.7 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.006121, allocations: 8.031 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.006195, allocations: 24.84 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.006446, allocations: 154.4 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.006469, allocations: 5.938 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.006492, allocations: 8.375 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.006844, allocations: 125.5 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006854, allocations: 1.75 kB / 0.7895 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.006872, allocations: 4 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.006876, allocations: 0 / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.007277, allocations: 104.9 kB / 0.7896 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.008008, allocations: 399.9 kB / 0.79 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.008776, allocations: 146.1 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.008977, allocations: 59.72 kB / 0.7902 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.009006, allocations: 7.984 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.009043, allocations: 41.39 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.009044, allocations: 3.938 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0007385/0.009783, allocations: 210.8 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.009829, allocations: 53.06 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.01003, allocations: 223.5 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.01005, allocations: 29.7 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.01028, allocations: 154.8 kB / 0.7909 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.01033, allocations: 36.39 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.01041, allocations: 39.36 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002826/0.0107, allocations: 0.4972 MB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.01096, allocations: 51.97 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.01114, allocations: 45.12 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.0115, allocations: 109 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.0115, allocations: 0 / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000453/0.01195, allocations: 154.4 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01197, allocations: 4.844 kB / 0.7918 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01197, allocations: 0 / 0.7918 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.012, allocations: 9.219 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01223, allocations: 27.97 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.01224, allocations: 7.938 kB / 0.7918 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01237, allocations: 12.78 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01239, allocations: 4 kB / 0.7918 GB, free: 7.043 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.0001438/0.01253, allocations: 165.5 kB / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.01257, allocations: 13.45 kB / 0.792 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.01262, allocations: 20.77 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01263, allocations: 3.938 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01263, allocations: 0 / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.01264, allocations: 1.25 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.0129, allocations: 176.5 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0129, allocations: 0 / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.01311, allocations: 31.06 kB / 0.7922 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01311, allocations: 7.938 kB / 0.7922 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01312, allocations: 0 / 0.7922 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01312, allocations: 0 / 0.7922 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.01313, allocations: 7.922 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.01369, allocations: 303.8 kB / 0.7925 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.01371, allocations: 12.39 kB / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01373, allocations: 0 / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.01389, allocations: 21.86 kB / 0.7926 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.01402, allocations: 39.89 kB / 0.7926 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.01404, allocations: 8 kB / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001183/0.01416, allocations: 152.8 kB / 0.7928 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01416, allocations: 4 kB / 0.7928 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002489/0.01441, allocations: 24.95 kB / 0.7928 GB, free: 6.02 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.0001558/0.01456, allocations: 99.89 kB / 0.7929 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.01504, allocations: 135.1 kB / 0.793 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01504, allocations: 0 / 0.793 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.0153, allocations: 87.58 kB / 0.7931 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.0156, allocations: 22.61 kB / 0.7931 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.01622, allocations: 254.1 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.01633, allocations: 86.25 kB / 0.7934 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.01643, allocations: 21.95 kB / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01654, allocations: 32.48 kB / 0.7935 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01654, allocations: 0.5 kB / 0.7935 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.006767/0.02331, allocations: 2.6 MB / 0.796 GB, free: 2.68 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] 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: 8.254973333911039]