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.00157/0.001571, allocations: 103.4 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 188.9 kB / 17.2 MB, free: 5.605 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.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.798/1.798, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001422/0.001422, allocations: 68.47 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2565, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002264/0.2588, allocations: 0.861 MB / 0.7849 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2609, allocations: 1.452 MB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.261, allocations: 11.88 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.2615, allocations: 195.5 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2617, allocations: 107.6 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009736/0.2626, allocations: 349.5 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000829/0.2635, allocations: 0.858 MB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4128/0.6763, allocations: 95.8 kB / 0.7879 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.6769, allocations: 340.6 kB / 0.7882 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.6773, allocations: 268.6 kB / 0.7885 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.6774, allocations: 47.53 kB / 0.7885 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.6777, allocations: 106.1 kB / 0.7886 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.6781, allocations: 342 kB / 0.7889 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.6784, allocations: 280.5 kB / 0.7892 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000732/0.6792, allocations: 0.8949 MB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6792, allocations: 6.469 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6792, allocations: 0.5938 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.6792, allocations: 1.5 kB / 0.7901 GB, free: 45.88 MB / 0.6544 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.001355/0.6805, allocations: 0.889 MB / 0.7909 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6806, allocations: 10.5 kB / 0.791 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.6808, allocations: 48.5 kB / 0.791 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.6814, allocations: 0.5455 MB / 0.7915 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.6815, allocations: 26.88 kB / 0.7916 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6816, allocations: 36.38 kB / 0.7916 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.682, allocations: 304.7 kB / 0.7919 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.682, allocations: 2.75 kB / 0.7919 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.682, allocations: 9.766 kB / 0.7919 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.682, allocations: 6.375 kB / 0.7919 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.6823, allocations: 223.7 kB / 0.7921 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.684, allocations: 1.185 MB / 0.7933 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.6845, allocations: 469.4 kB / 0.7937 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.6847, allocations: 178.3 kB / 0.7939 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.6847, allocations: 3.5 kB / 0.7939 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.6851, allocations: 331.3 kB / 0.7942 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.6851, allocations: 2.156 kB / 0.7942 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009293/0.686, allocations: 0.6267 MB / 0.7948 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.6861, allocations: 124.6 kB / 0.7949 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.6867, allocations: 0.5949 MB / 0.7955 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/0.6868, allocations: 47.12 kB / 0.7956 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.687, allocations: 212.6 kB / 0.7958 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.6871, allocations: 52.92 kB / 0.7958 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.6873, allocations: 186.7 kB / 0.796 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.6874, allocations: 359.7 kB / 0.7963 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.6876, allocations: 131.4 kB / 0.7965 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.6883, allocations: 0.7115 MB / 0.7972 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.6886, allocations: 305.4 kB / 0.7975 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6886, allocations: 0 / 0.7975 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006372/0.6892, allocations: 422.3 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6893, allocations: 7.5 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6893, allocations: 3.562 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.6893, allocations: 9.188 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.6895, allocations: 38.88 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.6895, allocations: 4.344 kB / 0.7979 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.6907, allocations: 127.4 kB / 0.798 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.6908, allocations: 15.12 kB / 0.7981 GB, free: 43.01 MB / 0.6544 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.0002898/0.691, allocations: 259.2 kB / 0.7983 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.6911, allocations: 44.27 kB / 0.7983 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.6912, allocations: 55.02 kB / 0.7984 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6912, allocations: 4.812 kB / 0.7984 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.6912, allocations: 0 / 0.7984 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.6912, allocations: 2.016 kB / 0.7984 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.6916, allocations: 412.4 kB / 0.7988 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6916, allocations: 0 / 0.7988 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.6917, allocations: 12.81 kB / 0.7988 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6917, allocations: 6.906 kB / 0.7988 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.6917, allocations: 14.42 kB / 0.7988 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6917, allocations: 2.797 kB / 0.7988 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6917, allocations: 0 / 0.7988 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.6924, allocations: 0.5113 MB / 0.7993 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.6925, allocations: 124.4 kB / 0.7995 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.6925, allocations: 14.92 kB / 0.7995 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.6927, allocations: 20.12 kB / 0.7995 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.6928, allocations: 31.48 kB / 0.7995 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.6929, allocations: 13.55 kB / 0.7995 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004828/0.6933, allocations: 434.2 kB / 0.7999 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6933, allocations: 1.094 kB / 0.7999 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005534/0.6939, allocations: 108.5 kB / 0.8 GB, free: 42.32 MB / 0.6544 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.0002787/0.6942, allocations: 152.3 kB / 0.8002 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006715/0.6949, allocations: 374.8 kB / 0.8006 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6949, allocations: 0 / 0.8006 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.6952, allocations: 220.4 kB / 0.8008 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.6956, allocations: 40.08 kB / 0.8008 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.6969, allocations: 0.8791 MB / 0.8017 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.6973, allocations: 0.8387 MB / 0.8025 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6974, allocations: 39.61 kB / 0.8025 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6974, allocations: 2.25 kB / 0.8025 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.0153/0.7127, allocations: 6.96 MB / 0.8093 GB, free: 40.49 MB / 0.6544 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)