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.0009163/0.0009163, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001646/0.001646, allocations: 181 kB / 24.09 MB, free: 416 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.93/0.93, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.78/1.78, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.505e-06/2.505e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.742e-05, allocations: 5.625 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001432/0.00146, allocations: 0.841 MB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.00235, allocations: 0.9376 MB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.002419, allocations: 4 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.002528, allocations: 13.27 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.002633, allocations: 23.69 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.002797, allocations: 60.7 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.00294, allocations: 131.7 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003062, allocations: 25.86 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.003166, allocations: 79.8 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.003285, allocations: 65.09 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.003314, allocations: 12 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.003331, allocations: 12 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.00338, allocations: 45.45 kB / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.003419, allocations: 35.89 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003546, allocations: 107.6 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003548, allocations: 0 / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003548, allocations: 1.219 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003552, allocations: 0 / 0.7899 GB, free: 9.789 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.0004239/0.003976, allocations: 448.1 kB / 0.7903 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.004012, allocations: 8.719 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.004061, allocations: 25.75 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.004181, allocations: 148.9 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.004198, allocations: 8.375 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.004211, allocations: 9.031 kB / 0.7905 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.004389, allocations: 125.6 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.004394, allocations: 0 / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.004404, allocations: 0 / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.00441, allocations: 4.969 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.00447, allocations: 31.92 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.004819, allocations: 343.4 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.005096, allocations: 91.14 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.005136, allocations: 31.59 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.005156, allocations: 8.031 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.005173, allocations: 34.11 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.005174, allocations: 0 / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001948/0.005369, allocations: 107.3 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.005393, allocations: 51.41 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.005486, allocations: 209.3 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.0055, allocations: 31.27 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.005555, allocations: 154.7 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.00558, allocations: 31.73 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.005622, allocations: 35.34 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.005732, allocations: 0.4936 MB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.005761, allocations: 11.98 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.00579, allocations: 17.39 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.005858, allocations: 47.59 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00586, allocations: 0 / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001206/0.00598, allocations: 90.05 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005991, allocations: 5.625 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005997, allocations: 3.984 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.006006, allocations: 0 / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.006098, allocations: 28.95 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.006102, allocations: 3.938 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.006151, allocations: 12.52 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.006159, allocations: 7.984 kB / 0.7925 GB, free: 6.996 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 7.589e-05/0.006235, allocations: 162.2 kB / 0.7926 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.006263, allocations: 19.88 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.006287, allocations: 16.78 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.006288, allocations: 0.5938 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.00629, allocations: 3.938 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006293, allocations: 0.5312 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.006413, allocations: 146.5 kB / 0.7928 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006414, allocations: 0 / 0.7928 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.006482, allocations: 23.98 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006484, allocations: 1.156 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.006493, allocations: 7.984 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.006495, allocations: 4 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006496, allocations: 0.9375 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.006649, allocations: 235.7 kB / 0.793 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.006661, allocations: 16.72 kB / 0.7931 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.006672, allocations: 0 / 0.7931 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.006731, allocations: 8.922 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.006794, allocations: 35.95 kB / 0.7931 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.006801, allocations: 5.344 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.006852, allocations: 159 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006852, allocations: 0 / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001581/0.00701, allocations: 20 kB / 0.7933 GB, free: 6.102 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 7.468e-05/0.007085, allocations: 102.5 kB / 0.7934 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.007194, allocations: 60.33 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007195, allocations: 0 / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.007258, allocations: 47.83 kB / 0.7935 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.007447, allocations: 35.55 kB / 0.7935 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.008066, allocations: 234 kB / 0.7937 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.008101, allocations: 67.34 kB / 0.7938 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.749e-05/0.008158, allocations: 15.16 kB / 0.7938 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.008259, allocations: 98.17 kB / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.00826, allocations: 0 / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.003899/0.01216, allocations: 2.784 MB / 0.7966 GB, free: 2.66 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: 4.811064512003213]