Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 297.4 MB / 312.6 MB, free: 2.914 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 194 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.7 MB / 0.6617 GB, free: 7.207 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008699, allocations: 93.69 kB / 0.7789 GB, free: 46.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005038, allocations: 10.5 kB / 0.9059 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7695, allocations: 119.2 MB / 1.022 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.00135/0.7709, allocations: 0.5474 MB / 1.023 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.774, allocations: 1.74 MB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.7742, allocations: 1.312 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.7749, allocations: 198.2 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.7752, allocations: 115.6 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.7765, allocations: 330.8 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.7778, allocations: 0.7667 MB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.7781, allocations: 90.5 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.7788, allocations: 302.6 kB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.7795, allocations: 234.1 kB / 1.027 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.7798, allocations: 15.47 kB / 1.027 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.7802, allocations: 77.89 kB / 1.027 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.7808, allocations: 301.2 kB / 1.027 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005877/0.7814, allocations: 258.5 kB / 1.027 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.7827, allocations: 0.8667 MB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7827, allocations: 0.6875 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.766e-06/0.7827, allocations: 0 / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.79e-05/0.7827, allocations: 1.219 kB / 1.028 GB, free: 55.25 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001784/0.7845, allocations: 0.6974 MB / 1.029 GB, free: 54.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.7846, allocations: 9.812 kB / 1.029 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.7849, allocations: 59.89 kB / 1.029 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.7858, allocations: 0.5456 MB / 1.029 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.7858, allocations: 23.58 kB / 1.029 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.786, allocations: 35.05 kB / 1.029 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.7865, allocations: 308.5 kB / 1.03 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7865, allocations: 192 / 1.03 GB, free: 54.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.7865, allocations: 16.67 kB / 1.03 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7866, allocations: 1.531 kB / 1.03 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.7869, allocations: 223.7 kB / 1.03 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.7888, allocations: 1.184 MB / 1.031 GB, free: 53.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.7894, allocations: 469.9 kB / 1.031 GB, free: 53.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.7896, allocations: 174.5 kB / 1.032 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7896, allocations: 7.391 kB / 1.032 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.7901, allocations: 331.1 kB / 1.032 GB, free: 52.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.524e-06/0.7901, allocations: 0.8438 kB / 1.032 GB, free: 52.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0009514/0.7911, allocations: 0.6216 MB / 1.033 GB, free: 52.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.7911, allocations: 125.9 kB / 1.033 GB, free: 52.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.7918, allocations: 0.5872 MB / 1.033 GB, free: 52.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/0.7919, allocations: 45.16 kB / 1.033 GB, free: 52.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.7921, allocations: 217.5 kB / 1.033 GB, free: 52.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.7922, allocations: 55.06 kB / 1.034 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.7922, allocations: 6.969 kB / 1.034 GB, free: 52.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7923, allocations: 360.2 kB / 1.034 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.7925, allocations: 125.9 kB / 1.034 GB, free: 51.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.7932, allocations: 0.719 MB / 1.035 GB, free: 51.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.7935, allocations: 297.7 kB / 1.035 GB, free: 51.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7935, allocations: 0 / 1.035 GB, free: 51.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005771/0.7941, allocations: 421.3 kB / 1.035 GB, free: 50.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.7941, allocations: 7.344 kB / 1.035 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7941, allocations: 1.844 kB / 1.035 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.7942, allocations: 10.94 kB / 1.035 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.7943, allocations: 38.3 kB / 1.035 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.7944, allocations: 7.234 kB / 1.035 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.7955, allocations: 144.8 kB / 1.036 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.7956, allocations: 16.78 kB / 1.036 GB, free: 50.79 MB / 0.698 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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.0002794/0.7958, allocations: 258.8 kB / 1.036 GB, free: 50.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.7959, allocations: 41.12 kB / 1.036 GB, free: 50.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.796, allocations: 52.83 kB / 1.036 GB, free: 50.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.796, allocations: 2.25 kB / 1.036 GB, free: 50.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.796, allocations: 6.375 kB / 1.036 GB, free: 50.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.796, allocations: 0 / 1.036 GB, free: 50.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.7964, allocations: 413.1 kB / 1.036 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7964, allocations: 0 / 1.036 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.7964, allocations: 11.02 kB / 1.036 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.7964, allocations: 2.75 kB / 1.036 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.7965, allocations: 12.06 kB / 1.036 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7965, allocations: 2.031 kB / 1.036 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7965, allocations: 5.375 kB / 1.036 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.7971, allocations: 0.5048 MB / 1.037 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.7973, allocations: 140.4 kB / 1.037 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.7973, allocations: 11.53 kB / 1.037 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.7975, allocations: 14.27 kB / 1.037 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7976, allocations: 37.89 kB / 1.037 GB, free: 49.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.7976, allocations: 12.19 kB / 1.037 GB, free: 49.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005355/0.7982, allocations: 430.7 kB / 1.037 GB, free: 49.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7982, allocations: 0 / 1.037 GB, free: 49.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004545/0.7986, allocations: 111.4 kB / 1.038 GB, free: 49.73 MB / 0.698 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.0002602/0.7989, allocations: 157.3 kB / 1.038 GB, free: 49.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.7995, allocations: 353.2 kB / 1.038 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7995, allocations: 0 / 1.038 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.7998, allocations: 186.1 kB / 1.038 GB, free: 49.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.8001, allocations: 44.05 kB / 1.038 GB, free: 49.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.8013, allocations: 0.9254 MB / 1.039 GB, free: 48.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8016, allocations: 0.8304 MB / 1.04 GB, free: 48.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.8019, allocations: 96.73 kB / 1.04 GB, free: 48.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.802, allocations: 43.58 kB / 1.04 GB, free: 48.19 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/0.802, allocations: 0 / 1.04 GB, free: 48.19 MB / 0.698 GB Notification: Performance of Templates: time 0.01434/0.8163, allocations: 7.609 MB / 1.048 GB, free: 47.74 MB / 0.698 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)