Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 108 kB / 15.6 MB, free: 132 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.001751/0.001751, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.538/1.538, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.88 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4709, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.003127/0.4741, allocations: 0.6857 MB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.4767, allocations: 1.348 MB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.4768, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.4775, allocations: 195.5 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.4777, allocations: 99.73 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.4787, allocations: 222.5 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.4794, allocations: 483.7 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.4794, allocations: 11.98 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.4799, allocations: 203.7 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.4803, allocations: 203.6 kB / 1.072 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.4805, allocations: 20 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.4809, allocations: 79.94 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.4815, allocations: 263.5 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.4818, allocations: 147.3 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008746/0.4827, allocations: 471 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4827, allocations: 4 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4827, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.4827, allocations: 0 / 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.001578/0.4843, allocations: 0.6345 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4844, allocations: 12.03 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.4846, allocations: 28.66 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/0.4853, allocations: 392 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4854, allocations: 16.36 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.4855, allocations: 20.38 kB / 1.074 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.4858, allocations: 184.7 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.4858, allocations: 12.11 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.4859, allocations: 3.938 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4859, allocations: 0 / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.4861, allocations: 115.9 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.4867, allocations: 387.2 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.4872, allocations: 311.6 kB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.4874, allocations: 126.6 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4874, allocations: 7.938 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/0.488, allocations: 275.8 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.488, allocations: 0 / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.000969/0.489, allocations: 0.5014 MB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.4891, allocations: 114.8 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.4896, allocations: 396.5 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/0.4897, allocations: 37.7 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.4898, allocations: 152.7 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.4899, allocations: 47.47 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.4901, allocations: 117.6 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4903, allocations: 350.8 kB / 1.077 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4904, allocations: 79.95 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.491, allocations: 467.8 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.4914, allocations: 257.4 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4914, allocations: 4 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005783/0.492, allocations: 328.8 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.492, allocations: 4.406 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.492, allocations: 8 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4921, allocations: 4 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.4922, allocations: 31.92 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.4923, allocations: 8.062 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.4931, allocations: 76.67 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.4931, allocations: 19.94 kB / 1.078 GB, free: 168 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.000271/0.4934, allocations: 196.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.4934, allocations: 27.66 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.4935, allocations: 37.89 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4935, allocations: 4 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.4935, allocations: 0 / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4935, allocations: 0 / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.4939, allocations: 285.4 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4939, allocations: 0 / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.4939, allocations: 15.94 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4939, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.4939, allocations: 11.92 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.494, allocations: 3.938 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.494, allocations: 4 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.4946, allocations: 422.4 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.4947, allocations: 108.8 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.4947, allocations: 8 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.4948, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.4949, allocations: 15.98 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.4949, allocations: 19.98 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003125/0.4952, allocations: 287 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.663e-06/0.4952, allocations: 0 / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004275/0.4957, allocations: 79.94 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.0003114/0.496, allocations: 143.1 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.4965, allocations: 263.7 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4965, allocations: 0 / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.4967, allocations: 143.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.0003371/0.4971, allocations: 32.47 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.001077/0.4981, allocations: 0.5787 MB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4986, allocations: 0.7713 MB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.4987, allocations: 54.11 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.4988, allocations: 31.42 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.4988, allocations: 0 / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.01121/0.51, allocations: 4.989 MB / 1.086 GB, free: 7.562 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)