Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 288.4 MB / 304.3 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009708/0.0009709, allocations: 164.6 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007683, allocations: 94.72 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003959, allocations: 13.22 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6309/0.8698, allocations: 138.4 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.87, allocations: 77.92 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1121/0.9821, allocations: 46.17 MB / 1.161 GB, free: 16.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9822, allocations: 0 / 1.161 GB, free: 16.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.217e-05/0.9822, allocations: 12 kB / 1.161 GB, free: 16.84 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.001178/0.9834, allocations: 0.7087 MB / 1.162 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9834, allocations: 8.031 kB / 1.162 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.9836, allocations: 56.38 kB / 1.162 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.9843, allocations: 0.5539 MB / 1.162 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.9844, allocations: 24.05 kB / 1.162 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.9844, allocations: 43.55 kB / 1.162 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.9849, allocations: 299.6 kB / 1.163 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9849, allocations: 7.875 kB / 1.163 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.9849, allocations: 11.48 kB / 1.163 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9849, allocations: 4 kB / 1.163 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.9852, allocations: 222.2 kB / 1.163 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.9871, allocations: 1.19 MB / 1.164 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.9877, allocations: 465.8 kB / 1.165 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.988, allocations: 184.5 kB / 1.165 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.988, allocations: 0 / 1.165 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.9884, allocations: 336.5 kB / 1.165 GB, free: 13.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.9885, allocations: 0 / 1.165 GB, free: 13.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0009822/0.9894, allocations: 0.6431 MB / 1.166 GB, free: 12.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.9895, allocations: 121.8 kB / 1.166 GB, free: 12.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.9902, allocations: 0.5921 MB / 1.166 GB, free: 12.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/0.9903, allocations: 45.08 kB / 1.166 GB, free: 12.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.9905, allocations: 228.2 kB / 1.167 GB, free: 12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-05/0.9906, allocations: 45.5 kB / 1.167 GB, free: 11.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.9906, allocations: 3.125 kB / 1.167 GB, free: 11.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9907, allocations: 361 kB / 1.167 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.9909, allocations: 135.9 kB / 1.167 GB, free: 11.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.9917, allocations: 0.7177 MB / 1.168 GB, free: 10.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.992, allocations: 302.7 kB / 1.168 GB, free: 10.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.9921, allocations: 4.75 kB / 1.168 GB, free: 10.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005753/0.9926, allocations: 424 kB / 1.169 GB, free: 10.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.9927, allocations: 8 kB / 1.169 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.9927, allocations: 4.188 kB / 1.169 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.9927, allocations: 8 kB / 1.169 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.9929, allocations: 39.84 kB / 1.169 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.9929, allocations: 11.94 kB / 1.169 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.994, allocations: 96.12 kB / 1.169 GB, free: 9.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.994, allocations: 15.94 kB / 1.169 GB, free: 9.957 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.9944, allocations: 271.7 kB / 1.169 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.9944, allocations: 39.44 kB / 1.169 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.753e-05/0.9945, allocations: 61.8 kB / 1.169 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9946, allocations: 4 kB / 1.169 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.9946, allocations: 0 / 1.169 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9946, allocations: 0 / 1.169 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.995, allocations: 397.2 kB / 1.169 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.995, allocations: 4 kB / 1.169 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.995, allocations: 14.92 kB / 1.17 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.995, allocations: 4 kB / 1.17 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.9951, allocations: 11.31 kB / 1.17 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.9951, allocations: 7.938 kB / 1.17 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9951, allocations: 0 / 1.17 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.9957, allocations: 0.5166 MB / 1.17 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.9959, allocations: 138.6 kB / 1.17 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.996, allocations: 11.88 kB / 1.17 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.9962, allocations: 23.09 kB / 1.17 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.9963, allocations: 26.72 kB / 1.17 GB, free: 8.629 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.9963, allocations: 19.3 kB / 1.17 GB, free: 8.613 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004394/0.9968, allocations: 430.5 kB / 1.171 GB, free: 8.281 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9968, allocations: 0 / 1.171 GB, free: 8.281 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005032/0.9973, allocations: 118.7 kB / 1.171 GB, free: 8.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.9975, allocations: 159.2 kB / 1.171 GB, free: 8.016 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005447/0.9981, allocations: 348.2 kB / 1.171 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9981, allocations: 0 / 1.171 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.9983, allocations: 184 kB / 1.171 GB, free: 7.637 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.9987, allocations: 44.2 kB / 1.171 GB, free: 7.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.9999, allocations: 0.8921 MB / 1.172 GB, free: 6.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/1, allocations: 0.8404 MB / 1.173 GB, free: 5.945 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002937/1.001, allocations: 98.91 kB / 1.173 GB, free: 5.848 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/1.001, allocations: 31.44 kB / 1.173 GB, free: 5.816 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.001, allocations: 0 / 1.173 GB, free: 5.816 MB / 0.698 GB Notification: Performance of Templates: time 0.01335/1.014, allocations: 7.476 MB / 1.181 GB, free: 14.43 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)