Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001567, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.966/1.966, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 77.62 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003193/0.2569, allocations: 0.8644 MB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.2592, allocations: 1.45 MB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2593, allocations: 4 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.2599, allocations: 207.4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2601, allocations: 115.6 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2611, allocations: 353.2 kB / 0.7871 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000902/0.2621, allocations: 0.8775 MB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.2623, allocations: 108.2 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.2626, allocations: 343.4 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.263, allocations: 263.3 kB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.2632, allocations: 44 kB / 0.7886 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2634, allocations: 111.9 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.2639, allocations: 343.3 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.2642, allocations: 274.8 kB / 0.7893 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008751/0.2651, allocations: 0.9116 MB / 0.7902 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2651, allocations: 0 / 0.7902 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2651, allocations: 0 / 0.7902 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.2651, allocations: 4 kB / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001676/0.2668, allocations: 0.8918 MB / 0.7911 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2669, allocations: 8.031 kB / 0.7911 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.267, allocations: 56.38 kB / 0.7912 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/0.2679, allocations: 0.541 MB / 0.7917 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.2679, allocations: 28.59 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.268, allocations: 36.38 kB / 0.7917 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.2685, allocations: 307.4 kB / 0.792 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2686, allocations: 192 / 0.792 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.2686, allocations: 3.938 kB / 0.792 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2686, allocations: 4 kB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.269, allocations: 223.8 kB / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2709, allocations: 1.18 MB / 0.7934 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.2716, allocations: 479.8 kB / 0.7939 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2718, allocations: 182.5 kB / 0.794 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2718, allocations: 0 / 0.794 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/0.2724, allocations: 343.8 kB / 0.7944 GB, free: 2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.2724, allocations: 0 / 0.7944 GB, free: 2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.00106/0.2734, allocations: 0.6141 MB / 0.795 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.2736, allocations: 122.7 kB / 0.7951 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.2743, allocations: 0.5992 MB / 0.7957 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.2744, allocations: 45.7 kB / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.2747, allocations: 218.3 kB / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.2748, allocations: 47.41 kB / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.275, allocations: 185.5 kB / 0.7961 GB, free: 132 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2752, allocations: 362.8 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2754, allocations: 127.9 kB / 0.7966 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000897/0.2763, allocations: 0.7147 MB / 0.7973 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.2767, allocations: 304.6 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2767, allocations: 0 / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006752/0.2774, allocations: 420.5 kB / 0.798 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2774, allocations: 8 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2775, allocations: 4.359 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2775, allocations: 12 kB / 0.798 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.2777, allocations: 39.8 kB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.2777, allocations: 8.25 kB / 0.7981 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.279, allocations: 119.8 kB / 0.7982 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.279, allocations: 20 kB / 0.7982 GB, free: 13.79 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003593/0.2794, allocations: 261.6 kB / 0.7985 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.2795, allocations: 43.44 kB / 0.7985 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.066e-05/0.2796, allocations: 51.36 kB / 0.7985 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2796, allocations: 7.938 kB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2796, allocations: 0 / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2796, allocations: 4 kB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.28, allocations: 405.3 kB / 0.7989 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.28, allocations: 0 / 0.7989 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.2801, allocations: 11.94 kB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2801, allocations: 0 / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2801, allocations: 7.984 kB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.2801, allocations: 11.92 kB / 0.799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2801, allocations: 0 / 0.799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.2808, allocations: 0.5175 MB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2809, allocations: 124.7 kB / 0.7996 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.2809, allocations: 4 kB / 0.7996 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.2811, allocations: 23.86 kB / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.2812, allocations: 27.97 kB / 0.7997 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.2812, allocations: 15.98 kB / 0.7997 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004759/0.2817, allocations: 431.1 kB / 0.8001 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2817, allocations: 0 / 0.8001 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004736/0.2822, allocations: 123.8 kB / 0.8002 GB, free: 11.63 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002518/0.2825, allocations: 145.4 kB / 0.8003 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005725/0.283, allocations: 348.3 kB / 0.8007 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.283, allocations: 0 / 0.8007 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.2833, allocations: 195.9 kB / 0.8009 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2836, allocations: 42.27 kB / 0.8009 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.285, allocations: 0.8258 MB / 0.8017 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.2855, allocations: 0.8311 MB / 0.8025 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.2857, allocations: 98.98 kB / 0.8026 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.2858, allocations: 35.44 kB / 0.8026 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2858, allocations: 0 / 0.8026 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of Templates: time 0.01478/0.3006, allocations: 7.935 MB / 0.8104 GB, free: 1.227 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)