Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 15.61 MB, free: 152 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.00128/0.00128, allocations: 196.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.043/3.043, allocations: 472.6 MB / 0.7451 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 65.72 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.394, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002323/0.3964, allocations: 0.6819 MB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3983, allocations: 1.348 MB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.3983, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.3988, allocations: 187.6 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.399, allocations: 115.7 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006796/0.3997, allocations: 218.8 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000495/0.4002, allocations: 483.7 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.4002, allocations: 15.97 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.4004, allocations: 195.7 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.4008, allocations: 207.5 kB / 1.072 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.4009, allocations: 24 kB / 1.072 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.4011, allocations: 79.94 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.4015, allocations: 267.4 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.4017, allocations: 147.3 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.4022, allocations: 471 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4022, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4022, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4022, allocations: 4 kB / 1.072 GB, free: 6.07 MB / 0.8262 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.00103/0.4032, allocations: 0.6306 MB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4033, allocations: 8.031 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4034, allocations: 36.66 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.404, allocations: 392 kB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4041, allocations: 16.36 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.4041, allocations: 20.38 kB / 1.074 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.4045, allocations: 180.7 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4045, allocations: 192 / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4045, allocations: 3.938 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4045, allocations: 4 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.4047, allocations: 115.9 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.4052, allocations: 379.2 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.4057, allocations: 319.6 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.4058, allocations: 122.6 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.4059, allocations: 0 / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.4063, allocations: 281.6 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.4064, allocations: 0 / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008208/0.4072, allocations: 0.5128 MB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.4073, allocations: 110.8 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.4077, allocations: 400.5 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.4078, allocations: 33.7 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4079, allocations: 168.7 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.408, allocations: 43.47 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.4082, allocations: 117.6 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4084, allocations: 342.8 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.4085, allocations: 83.95 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.4091, allocations: 480 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.4095, allocations: 257.4 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4095, allocations: 0 / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004869/0.41, allocations: 329 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.41, allocations: 8 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.41, allocations: 4 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4101, allocations: 4 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4102, allocations: 31.92 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4102, allocations: 7.938 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.411, allocations: 74.27 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.411, allocations: 12 kB / 1.078 GB, free: 172 kB / 0.8262 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.0002309/0.4113, allocations: 196.6 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.4113, allocations: 31.66 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.4114, allocations: 33.83 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4114, allocations: 4 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4114, allocations: 0 / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4114, allocations: 8 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.4117, allocations: 285.4 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4117, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.4117, allocations: 7.938 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4117, allocations: 7.938 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4118, allocations: 7.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4118, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4118, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.4123, allocations: 434.3 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.4124, allocations: 108.8 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4125, allocations: 4 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.4126, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.4126, allocations: 19.98 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4127, allocations: 11.98 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00032/0.413, allocations: 291 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.413, allocations: 0 / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003915/0.4134, allocations: 80 kB / 1.079 GB, free: 14.57 MB / 0.8419 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.0003056/0.4137, allocations: 144.9 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.4142, allocations: 260.4 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4142, allocations: 0 / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.4144, allocations: 151.9 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4147, allocations: 26.81 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.4156, allocations: 0.5728 MB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.416, allocations: 0.7674 MB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.4161, allocations: 57.67 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.4162, allocations: 31.42 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.4162, allocations: 0 / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.009292/0.4255, allocations: 5.001 MB / 1.086 GB, free: 7.562 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)