Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.0009899/0.0009899, 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.0009816/0.0009816, 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.9087/0.9087, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.796/1.796, allocations: 359 MB / 0.6055 GB, free: 10.87 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 0.7656 kB / 0.7876 GB, free: 11.06 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.427e-05, allocations: 4.984 kB / 0.7876 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.005265/0.0053, allocations: 0.6818 MB / 0.7882 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.007082, allocations: 1.368 MB / 0.7896 GB, free: 9.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.008267, allocations: 4 kB / 0.7896 GB, free: 9.008 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.008776, allocations: 197 kB / 0.7898 GB, free: 8.816 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.008892, allocations: 113.6 kB / 0.7899 GB, free: 8.707 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.009642, allocations: 245.8 kB / 0.7901 GB, free: 8.469 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000538/0.01018, allocations: 488.8 kB / 0.7906 GB, free: 7.992 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.01022, allocations: 9.547 kB / 0.7906 GB, free: 7.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.01061, allocations: 255.7 kB / 0.7908 GB, free: 7.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.01091, allocations: 187.7 kB / 0.791 GB, free: 7.551 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.01097, allocations: 21.84 kB / 0.791 GB, free: 7.531 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.01123, allocations: 99.78 kB / 0.7911 GB, free: 7.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.01143, allocations: 207.6 kB / 0.7913 GB, free: 7.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.613e-05/0.01152, allocations: 111.8 kB / 0.7914 GB, free: 7.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.01193, allocations: 430.8 kB / 0.7918 GB, free: 6.699 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01193, allocations: 2.406 kB / 0.7918 GB, free: 6.699 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01193, allocations: 0 / 0.7918 GB, free: 6.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.01194, allocations: 0 / 0.7918 GB, free: 6.699 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007235/0.01266, allocations: 0.6587 MB / 0.7925 GB, free: 6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.0127, allocations: 12.59 kB / 0.7925 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.0128, allocations: 36.78 kB / 0.7925 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.0131, allocations: 274.2 kB / 0.7928 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.01312, allocations: 8.375 kB / 0.7928 GB, free: 5.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.01316, allocations: 24.36 kB / 0.7928 GB, free: 5.633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.01333, allocations: 109.2 kB / 0.7929 GB, free: 5.508 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.01333, allocations: 4.906 kB / 0.7929 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.01335, allocations: 4.312 kB / 0.7929 GB, free: 5.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01335, allocations: 1.188 kB / 0.7929 GB, free: 5.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.979e-05/0.0134, allocations: 35.91 kB / 0.793 GB, free: 5.465 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.01366, allocations: 238 kB / 0.7932 GB, free: 5.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.01383, allocations: 157.2 kB / 0.7934 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.01389, allocations: 55.03 kB / 0.7934 GB, free: 4.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.01389, allocations: 2.25 kB / 0.7934 GB, free: 4.941 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.01412, allocations: 239.8 kB / 0.7936 GB, free: 4.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.01412, allocations: 3.938 kB / 0.7936 GB, free: 4.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004018/0.01452, allocations: 314.3 kB / 0.7939 GB, free: 4.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.01458, allocations: 115.3 kB / 0.794 GB, free: 4.227 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.0148, allocations: 366.2 kB / 0.7944 GB, free: 3.848 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.01484, allocations: 43.34 kB / 0.7944 GB, free: 3.801 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01496, allocations: 211.5 kB / 0.7946 GB, free: 3.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.01501, allocations: 39.72 kB / 0.7947 GB, free: 3.551 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.01513, allocations: 119.2 kB / 0.7948 GB, free: 3.426 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01528, allocations: 0.5356 MB / 0.7953 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.01533, allocations: 31.97 kB / 0.7953 GB, free: 2.848 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.0158, allocations: 1.057 MB / 0.7964 GB, free: 1.465 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.01596, allocations: 231 kB / 0.7966 GB, free: 1.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01596, allocations: 4 kB / 0.7966 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002501/0.01621, allocations: 236.1 kB / 0.7968 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01623, allocations: 12.61 kB / 0.7968 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01624, allocations: 4.625 kB / 0.7968 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01625, allocations: 4 kB / 0.7968 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01639, allocations: 36.77 kB / 0.7969 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01639, allocations: 8 kB / 0.7969 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.01665, allocations: 69.42 kB / 0.797 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01667, allocations: 8 kB / 0.797 GB, free: 0.8008 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001644/0.01683, allocations: 191.4 kB / 0.7971 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.01687, allocations: 39.2 kB / 0.7972 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.01691, allocations: 25.95 kB / 0.7972 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01692, allocations: 11.94 kB / 0.7972 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01692, allocations: 0 / 0.7972 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01692, allocations: 4 kB / 0.7972 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.01707, allocations: 181.3 kB / 0.7974 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01707, allocations: 4 kB / 0.7974 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-06/0.01708, allocations: 0 / 0.7974 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01708, allocations: 4 kB / 0.7974 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01709, allocations: 11.97 kB / 0.7974 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0171, allocations: 0.5 kB / 0.7974 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.0171, allocations: 1.938 kB / 0.7974 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.0174, allocations: 329.4 kB / 0.7977 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.01743, allocations: 27.75 kB / 0.7978 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.01744, allocations: 0 / 0.7978 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.0175, allocations: 11.98 kB / 0.7978 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01754, allocations: 12.64 kB / 0.7978 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.01756, allocations: 15.98 kB / 0.7978 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001251/0.01769, allocations: 237.7 kB / 0.798 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01769, allocations: 0 / 0.798 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002711/0.01796, allocations: 75.94 kB / 0.7981 GB, free: 15.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001837/0.01814, allocations: 147 kB / 0.7982 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.01834, allocations: 149.9 kB / 0.7984 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01834, allocations: 0 / 0.7984 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.01841, allocations: 80.5 kB / 0.7985 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.0186, allocations: 28.64 kB / 0.7985 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.01917, allocations: 464.7 kB / 0.7989 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.01922, allocations: 96.09 kB / 0.799 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.01929, allocations: 36.69 kB / 0.7991 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.01944, allocations: 146.6 kB / 0.7992 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.01944, allocations: 1.5 kB / 0.7992 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.007031/0.02647, allocations: 5.821 MB / 0.8049 GB, free: 8.691 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.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.889952728990465]