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.0009878/0.0009878, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00155/0.00155, allocations: 169 kB / 24.28 MB, free: 272 kB / 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 0.9933/0.9933, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.84/1.84, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.014e-05, allocations: 6.906 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001319/0.001339, allocations: 0.8367 MB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.002231, allocations: 0.9426 MB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.0023, allocations: 4 kB / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.002419, allocations: 15.81 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.002519, allocations: 17.64 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.002697, allocations: 63.8 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.003405, allocations: 131.7 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.003543, allocations: 26.05 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.00364, allocations: 75.86 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.00376, allocations: 64.59 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.003792, allocations: 15.94 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.003809, allocations: 13.28 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.003861, allocations: 39.89 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.003906, allocations: 35.91 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.00405, allocations: 103.6 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004052, allocations: 1.406 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004052, allocations: 0 / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004056, allocations: 4 kB / 0.7894 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.0005039/0.00456, allocations: 453.1 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004596, allocations: 12.03 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.004647, allocations: 26.31 kB / 0.7899 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.004797, allocations: 150.9 kB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.004819, allocations: 8.375 kB / 0.7901 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.004834, allocations: 8.375 kB / 0.7901 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.005042, allocations: 119.9 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.005049, allocations: 0 / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.005063, allocations: 4 kB / 0.7902 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.005071, allocations: 4.562 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.005166, allocations: 46.77 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.005581, allocations: 365.1 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.005925, allocations: 104.7 kB / 0.7907 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.005985, allocations: 27.84 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.006003, allocations: 4 kB / 0.7907 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.006031, allocations: 37.39 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.043e-06/0.006033, allocations: 6.5 kB / 0.7908 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003217/0.006355, allocations: 113.7 kB / 0.7909 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.006395, allocations: 55.41 kB / 0.7909 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.006517, allocations: 207.6 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.006535, allocations: 29.7 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.006607, allocations: 155.4 kB / 0.7913 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.00664, allocations: 31.73 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.00669, allocations: 36.08 kB / 0.7914 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.006846, allocations: 0.4923 MB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.006896, allocations: 20.52 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.00694, allocations: 17.52 kB / 0.7919 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.00704, allocations: 48.23 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007042, allocations: 0.5312 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.007201, allocations: 102.8 kB / 0.792 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.007221, allocations: 9.719 kB / 0.792 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.007226, allocations: 0 / 0.792 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.007242, allocations: 5.094 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.007352, allocations: 35.89 kB / 0.7921 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.007359, allocations: 0 / 0.7921 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.007415, allocations: 13.36 kB / 0.7921 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.007423, allocations: 0 / 0.7921 GB, free: 7.527 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 8.433e-05/0.007507, allocations: 166.3 kB / 0.7922 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.007534, allocations: 15.95 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.007563, allocations: 16.78 kB / 0.7923 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.007566, allocations: 3.938 kB / 0.7923 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.007569, allocations: 0.6875 kB / 0.7923 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007573, allocations: 0 / 0.7923 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.007719, allocations: 166.2 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00772, allocations: 0 / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.007802, allocations: 35.91 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.007804, allocations: 3.938 kB / 0.7925 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.007815, allocations: 8.859 kB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007816, allocations: 0 / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.007819, allocations: 3.938 kB / 0.7925 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.008021, allocations: 243.3 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.008037, allocations: 15.89 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.008054, allocations: 4 kB / 0.7927 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.008121, allocations: 11.98 kB / 0.7927 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.008209, allocations: 39.89 kB / 0.7928 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.008216, allocations: 4 kB / 0.7928 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.497e-05/0.008281, allocations: 152.7 kB / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008281, allocations: 0 / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001574/0.008439, allocations: 20.53 kB / 0.7929 GB, free: 6.582 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 9.1e-05/0.00853, allocations: 101.2 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.008687, allocations: 63.58 kB / 0.7931 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008689, allocations: 2.094 kB / 0.7931 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.008763, allocations: 51.61 kB / 0.7932 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.008967, allocations: 23.97 kB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.009366, allocations: 244 kB / 0.7934 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.009407, allocations: 63.34 kB / 0.7935 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.21e-05/0.009469, allocations: 21.95 kB / 0.7935 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.009535, allocations: 27.11 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009535, allocations: 4 kB / 0.7935 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.004482/0.01402, allocations: 2.596 MB / 0.7961 GB, free: 3.391 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.179611908970401]