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.001027/0.001027, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001008/0.001008, allocations: 169 kB / 24.28 MB, free: 280 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.9836/0.9836, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.802/1.802, allocations: 359 MB / 0.6055 GB, free: 11.02 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.256e-06/3.256e-06, allocations: 0 / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.711e-05, allocations: 10.83 kB / 0.7871 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.004802/0.004839, allocations: 0.6864 MB / 0.7878 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.006506, allocations: 1.379 MB / 0.7891 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.006596, allocations: 5.062 kB / 0.7891 GB, free: 9.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.007103, allocations: 185.7 kB / 0.7893 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.01035, allocations: 106.8 kB / 0.7894 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.01112, allocations: 248.3 kB / 0.7896 GB, free: 9.105 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.01165, allocations: 489.5 kB / 0.7901 GB, free: 8.629 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.01171, allocations: 7.984 kB / 0.7901 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.012, allocations: 247.7 kB / 0.7904 GB, free: 8.379 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.01239, allocations: 225.1 kB / 0.7906 GB, free: 8.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.01247, allocations: 24.5 kB / 0.7906 GB, free: 8.137 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.01272, allocations: 100.5 kB / 0.7907 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.01614, allocations: 267.5 kB / 0.7909 GB, free: 7.777 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.01637, allocations: 112.4 kB / 0.7911 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.01699, allocations: 430.7 kB / 0.7915 GB, free: 7.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01699, allocations: 5.375 kB / 0.7915 GB, free: 7.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01699, allocations: 0 / 0.7915 GB, free: 7.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.017, allocations: 0 / 0.7915 GB, free: 7.242 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.0008773/0.01788, allocations: 0.6681 MB / 0.7921 GB, free: 6.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.01792, allocations: 8.031 kB / 0.7921 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.01806, allocations: 32.8 kB / 0.7922 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.01847, allocations: 290.2 kB / 0.7924 GB, free: 6.191 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.01849, allocations: 16.31 kB / 0.7925 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.01854, allocations: 20.38 kB / 0.7925 GB, free: 6.156 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.01876, allocations: 133.1 kB / 0.7926 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.01877, allocations: 0.75 kB / 0.7926 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.01878, allocations: 4.375 kB / 0.7926 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.01879, allocations: 2 kB / 0.7926 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.01888, allocations: 51.84 kB / 0.7927 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.02106, allocations: 279.9 kB / 0.7929 GB, free: 5.637 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.02144, allocations: 199.3 kB / 0.7931 GB, free: 5.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.02155, allocations: 67.09 kB / 0.7932 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.02156, allocations: 7.984 kB / 0.7932 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.02194, allocations: 246.6 kB / 0.7934 GB, free: 5.055 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.707e-06/0.02195, allocations: 7.984 kB / 0.7934 GB, free: 5.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008481/0.0228, allocations: 378.2 kB / 0.7938 GB, free: 4.672 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.02289, allocations: 122.7 kB / 0.7939 GB, free: 4.527 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.02334, allocations: 375.8 kB / 0.7943 GB, free: 4.141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.02341, allocations: 37.7 kB / 0.7943 GB, free: 4.098 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.0236, allocations: 215.4 kB / 0.7945 GB, free: 3.883 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.02365, allocations: 31.77 kB / 0.7945 GB, free: 3.852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.02385, allocations: 124.4 kB / 0.7947 GB, free: 3.723 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.02408, allocations: 0.5235 MB / 0.7952 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.02419, allocations: 51.95 kB / 0.7952 GB, free: 3.137 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.02495, allocations: 1.069 MB / 0.7963 GB, free: 1.742 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.02526, allocations: 258.7 kB / 0.7965 GB, free: 1.426 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02527, allocations: 2.5 kB / 0.7965 GB, free: 1.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005226/0.02579, allocations: 275 kB / 0.7968 GB, free: 1.152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.02582, allocations: 7.938 kB / 0.7968 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.02582, allocations: 4 kB / 0.7968 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.02585, allocations: 8 kB / 0.7968 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.02606, allocations: 48.38 kB / 0.7968 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.02607, allocations: 13.12 kB / 0.7968 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.02656, allocations: 51.91 kB / 0.7969 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.02659, allocations: 12 kB / 0.7969 GB, free: 1.012 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.0002191/0.02681, allocations: 192.2 kB / 0.7971 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.02689, allocations: 40.5 kB / 0.7971 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.02695, allocations: 25.95 kB / 0.7972 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.02696, allocations: 0.6562 kB / 0.7972 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.02696, allocations: 4 kB / 0.7972 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.02697, allocations: 9.016 kB / 0.7972 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.02725, allocations: 220.5 kB / 0.7974 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.02725, allocations: 0 / 0.7974 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.02728, allocations: 12.58 kB / 0.7974 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.02728, allocations: 1.109 kB / 0.7974 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.0273, allocations: 4 kB / 0.7974 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.0273, allocations: 0 / 0.7974 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.02731, allocations: 7.719 kB / 0.7974 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.02785, allocations: 365.5 kB / 0.7978 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.02791, allocations: 27.81 kB / 0.7978 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.02796, allocations: 7.984 kB / 0.7978 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.02805, allocations: 11.88 kB / 0.7978 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.02811, allocations: 19.91 kB / 0.7978 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.02817, allocations: 16.05 kB / 0.7978 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002667/0.02844, allocations: 246.9 kB / 0.7981 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02844, allocations: 0 / 0.7981 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000488/0.02893, allocations: 79.86 kB / 0.7981 GB, free: 15.68 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.0002984/0.02922, allocations: 137.4 kB / 0.7983 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.02967, allocations: 201.6 kB / 0.7985 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.02967, allocations: 0 / 0.7985 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.02983, allocations: 91.58 kB / 0.7986 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.03018, allocations: 33.86 kB / 0.7986 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.03112, allocations: 482.7 kB / 0.799 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.288e-05/0.0312, allocations: 100.2 kB / 0.7991 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.03133, allocations: 33.94 kB / 0.7992 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.03141, allocations: 32.48 kB / 0.7992 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.354e-06/0.03141, allocations: 0 / 0.7992 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.008534/0.03994, allocations: 5.457 MB / 0.8045 GB, free: 9.172 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: 5.345562684116885]