Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001063/0.001063, 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.001122/0.001122, allocations: 173 kB / 24.28 MB, free: 276 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.9716/0.9716, 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.749/1.749, 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.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,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.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.649e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00145/0.001486, allocations: 0.6913 MB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.002832, allocations: 1.379 MB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.002896, allocations: 3.938 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.003327, allocations: 190.7 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.0034, allocations: 108.6 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.003966, allocations: 238.7 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.004329, allocations: 487.7 kB / 0.7901 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.004371, allocations: 4 kB / 0.7901 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.004576, allocations: 247.7 kB / 0.7904 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.004846, allocations: 225.2 kB / 0.7906 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.004894, allocations: 20.5 kB / 0.7906 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.005064, allocations: 101.9 kB / 0.7907 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.005309, allocations: 271.4 kB / 0.7909 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.005421, allocations: 115.7 kB / 0.7911 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.0058, allocations: 426.8 kB / 0.7915 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005803, allocations: 0 / 0.7915 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.005805, allocations: 0 / 0.7915 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.005811, allocations: 4.469 kB / 0.7915 GB, free: 8.344 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007482/0.006559, allocations: 0.6637 MB / 0.7921 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.006598, allocations: 12.53 kB / 0.7921 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.006701, allocations: 38.31 kB / 0.7922 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.007031, allocations: 288.6 kB / 0.7924 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.007047, allocations: 8.375 kB / 0.7924 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.007086, allocations: 20.38 kB / 0.7925 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.007282, allocations: 137.8 kB / 0.7926 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.00729, allocations: 4.125 kB / 0.7926 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.007307, allocations: 5.297 kB / 0.7926 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.007316, allocations: 384 / 0.7926 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.007391, allocations: 52.62 kB / 0.7927 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.0077, allocations: 287.8 kB / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.007927, allocations: 199.1 kB / 0.7931 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.008002, allocations: 71.03 kB / 0.7932 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.008007, allocations: 0 / 0.7932 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.008259, allocations: 258.7 kB / 0.7934 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 9.52e-07/0.00826, allocations: 0.8438 kB / 0.7934 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005729/0.008833, allocations: 369.3 kB / 0.7938 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.00889, allocations: 115.3 kB / 0.7939 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.009152, allocations: 379.1 kB / 0.7943 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.009196, allocations: 45.69 kB / 0.7943 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.009363, allocations: 209.5 kB / 0.7945 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.009416, allocations: 43.73 kB / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.009532, allocations: 115.2 kB / 0.7947 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.009675, allocations: 0.5235 MB / 0.7952 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.00975, allocations: 51.97 kB / 0.7952 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.01022, allocations: 1.064 MB / 0.7963 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.01043, allocations: 255.6 kB / 0.7965 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01043, allocations: 4 kB / 0.7965 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003227/0.01076, allocations: 272.8 kB / 0.7968 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01077, allocations: 8 kB / 0.7968 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01078, allocations: 4 kB / 0.7968 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.0108, allocations: 4.656 kB / 0.7968 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.01094, allocations: 47.91 kB / 0.7968 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01095, allocations: 12.78 kB / 0.7968 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.01124, allocations: 64.45 kB / 0.7969 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.01126, allocations: 15.75 kB / 0.7969 GB, free: 2.109 MB / 0.7448 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.0001413/0.0114, allocations: 194.5 kB / 0.7971 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.01144, allocations: 31.81 kB / 0.7971 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.01148, allocations: 26.19 kB / 0.7972 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01148, allocations: 4 kB / 0.7972 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01149, allocations: 3.984 kB / 0.7972 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.0115, allocations: 7.922 kB / 0.7972 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.01167, allocations: 225.7 kB / 0.7974 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01167, allocations: 0 / 0.7974 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.01168, allocations: 4 kB / 0.7974 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01168, allocations: 1.031 kB / 0.7974 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01169, allocations: 11.98 kB / 0.7974 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.0117, allocations: 4 kB / 0.7974 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.0117, allocations: 5.109 kB / 0.7974 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.01203, allocations: 365.2 kB / 0.7978 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.01206, allocations: 27.8 kB / 0.7978 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.01209, allocations: 5.109 kB / 0.7978 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.01214, allocations: 8 kB / 0.7978 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.01218, allocations: 19.92 kB / 0.7978 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.01221, allocations: 13.14 kB / 0.7978 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001552/0.01236, allocations: 251 kB / 0.7981 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01236, allocations: 0 / 0.7981 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002693/0.01263, allocations: 73.62 kB / 0.7981 GB, free: 0.7891 MB / 0.7448 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.0002075/0.01284, allocations: 155.7 kB / 0.7983 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.01311, allocations: 188.8 kB / 0.7985 GB, free: 448 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01311, allocations: 384 / 0.7985 GB, free: 448 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01321, allocations: 95.58 kB / 0.7986 GB, free: 348 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01342, allocations: 32.59 kB / 0.7986 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.01401, allocations: 490.7 kB / 0.7991 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.01406, allocations: 92.3 kB / 0.7991 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.01413, allocations: 41.88 kB / 0.7992 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.01419, allocations: 28.5 kB / 0.7992 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/0.01419, allocations: 0 / 0.7992 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of Templates: time 0.007116/0.0213, allocations: 5.481 MB / 0.8046 GB, free: 10.25 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.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.2800740278325975]