Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01002/0.01002, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.274/3.274, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004169, allocations: 13.84 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4624, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001306/0.4637, allocations: 0.5656 MB / 1.075 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.466, allocations: 1.447 MB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.4661, allocations: 0 / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.4667, allocations: 191.5 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.4668, allocations: 111.7 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009967/0.4678, allocations: 330 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.4687, allocations: 0.7681 MB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.4689, allocations: 92.23 kB / 1.078 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.4693, allocations: 291.4 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.4696, allocations: 243.2 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.4697, allocations: 20 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.47, allocations: 75.94 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.4704, allocations: 303.3 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.4707, allocations: 260.5 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008585/0.4715, allocations: 0.861 MB / 1.08 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4715, allocations: 0 / 1.08 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4715, allocations: 4 kB / 1.08 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4716, allocations: 0 / 1.08 GB, free: 1.973 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001308/0.4729, allocations: 0.6972 MB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4729, allocations: 12.03 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.4731, allocations: 48.47 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.4739, allocations: 0.5409 MB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.4739, allocations: 32.58 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4741, allocations: 40.25 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.4745, allocations: 306.2 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4746, allocations: 192 / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.4746, allocations: 11.94 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4746, allocations: 4 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.475, allocations: 223.9 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.477, allocations: 1.195 MB / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.4776, allocations: 463.7 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.4779, allocations: 178.6 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.4779, allocations: 4 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.4784, allocations: 339.2 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.4784, allocations: 0 / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.001048/0.4794, allocations: 0.6218 MB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.4795, allocations: 126.7 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.4802, allocations: 0.5916 MB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.4803, allocations: 41.7 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.4806, allocations: 230.2 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.4807, allocations: 43.5 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.4808, allocations: 49.69 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4809, allocations: 358.8 kB / 1.086 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.4811, allocations: 131.9 kB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.4819, allocations: 0.7105 MB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.4823, allocations: 304.5 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4823, allocations: 0 / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006097/0.4829, allocations: 420.7 kB / 1.087 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.483, allocations: 4 kB / 1.087 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.483, allocations: 4 kB / 1.087 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.483, allocations: 11.94 kB / 1.087 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.4832, allocations: 35.91 kB / 1.087 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4832, allocations: 8.562 kB / 1.087 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4845, allocations: 131.6 kB / 1.087 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.4846, allocations: 20 kB / 1.087 GB, free: 9.605 MB / 0.8419 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.0003319/0.4849, allocations: 269.6 kB / 1.087 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.485, allocations: 39.44 kB / 1.088 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.4851, allocations: 55.31 kB / 1.088 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4851, allocations: 4 kB / 1.088 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4851, allocations: 3.984 kB / 1.088 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4851, allocations: 0 / 1.088 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.4855, allocations: 401.3 kB / 1.088 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4855, allocations: 0 / 1.088 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.4856, allocations: 15.98 kB / 1.088 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4856, allocations: 0 / 1.088 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4856, allocations: 7.938 kB / 1.088 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4856, allocations: 7.938 kB / 1.088 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4856, allocations: 0 / 1.088 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.4863, allocations: 0.5098 MB / 1.088 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.4864, allocations: 144.4 kB / 1.089 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.4865, allocations: 11.94 kB / 1.089 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4867, allocations: 19.97 kB / 1.089 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.4867, allocations: 31.91 kB / 1.089 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.4868, allocations: 12 kB / 1.089 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004859/0.4873, allocations: 435.1 kB / 1.089 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4873, allocations: 0 / 1.089 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004836/0.4878, allocations: 111.9 kB / 1.089 GB, free: 7.449 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: 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.0002758/0.4881, allocations: 145.5 kB / 1.089 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.4887, allocations: 348.1 kB / 1.09 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4887, allocations: 0 / 1.09 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.4889, allocations: 192.6 kB / 1.09 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4893, allocations: 42.33 kB / 1.09 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.4906, allocations: 0.9174 MB / 1.091 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.4911, allocations: 0.8392 MB / 1.092 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.4913, allocations: 94.92 kB / 1.092 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.4914, allocations: 39.42 kB / 1.092 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.4915, allocations: 0 / 1.092 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of Templates: time 0.01491/0.5064, allocations: 7.59 MB / 1.099 GB, free: 13.26 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)