Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.014/2.014, allocations: 287.5 MB / 302.6 MB, free: 8.281 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.00181/0.00181, allocations: 174.9 kB / 371.2 MB, free: 10.84 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.876/1.876, allocations: 205.4 MB / 0.6299 GB, free: 10.57 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.001124/0.001124, allocations: 97.2 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.0005499, allocations: 13.14 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3216, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001439/0.3231, allocations: 0.5559 MB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3254, allocations: 1.411 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.3256, allocations: 7.938 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.3262, allocations: 179.6 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.3264, allocations: 107.7 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3277, allocations: 318.1 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.3287, allocations: 0.655 MB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.3289, allocations: 88.27 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.3295, allocations: 303.4 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.33, allocations: 231.3 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.3302, allocations: 16 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.3306, allocations: 67.95 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004367/0.331, allocations: 307.3 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3312, allocations: 89.52 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007339/0.332, allocations: 0.694 MB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.332, allocations: 8 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.332, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.332, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 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.00159/0.3336, allocations: 0.699 MB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3337, allocations: 12.03 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.334, allocations: 52.38 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/0.3349, allocations: 0.5409 MB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.335, allocations: 24.61 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3351, allocations: 40.38 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.3356, allocations: 302.2 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3356, allocations: 192 / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.3356, allocations: 7.938 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3356, allocations: 4 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.3359, allocations: 227.7 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.3376, allocations: 1.187 MB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.3382, allocations: 471.8 kB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.3384, allocations: 182.5 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3384, allocations: 0 / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.3389, allocations: 334.4 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 2.034e-06/0.3389, allocations: 0 / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0009605/0.3399, allocations: 0.6179 MB / 0.9881 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.34, allocations: 122.7 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.3405, allocations: 0.5993 MB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.3407, allocations: 45.7 kB / 0.9889 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.3409, allocations: 222.5 kB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.3409, allocations: 51.41 kB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.341, allocations: 4 kB / 0.9892 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3411, allocations: 362.8 kB / 0.9895 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3413, allocations: 135.7 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.3419, allocations: 0.7097 MB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.3422, allocations: 300.6 kB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3422, allocations: 4 kB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005152/0.3428, allocations: 413.1 kB / 0.991 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.3428, allocations: 12.03 kB / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3428, allocations: 4 kB / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.3429, allocations: 7.938 kB / 0.991 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.343, allocations: 35.86 kB / 0.9911 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3431, allocations: 8.75 kB / 0.9911 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.3443, allocations: 144.2 kB / 0.9912 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3443, allocations: 16 kB / 0.9912 GB, free: 14.82 MB / 0.6198 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.0003009/0.3446, allocations: 257.6 kB / 0.9915 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3447, allocations: 39.53 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-05/0.3448, allocations: 63.28 kB / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3448, allocations: 4 kB / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.3448, allocations: 0 / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3448, allocations: 7.938 kB / 0.9916 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.3452, allocations: 405.2 kB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3452, allocations: 0 / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.3452, allocations: 11.94 kB / 0.992 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3452, allocations: 0 / 0.992 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3453, allocations: 12.17 kB / 0.992 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3453, allocations: 8 kB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3453, allocations: 0 / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.3459, allocations: 0.5174 MB / 0.9925 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.346, allocations: 140.5 kB / 0.9926 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.346, allocations: 11.94 kB / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3462, allocations: 15.98 kB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.3463, allocations: 31.95 kB / 0.9927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.3463, allocations: 16 kB / 0.9927 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003985/0.3467, allocations: 435 kB / 0.9931 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3467, allocations: 0 / 0.9931 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004151/0.3471, allocations: 111.9 kB / 0.9932 GB, free: 12.66 MB / 0.6198 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.0002316/0.3474, allocations: 141.4 kB / 0.9934 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.3479, allocations: 351.8 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3479, allocations: 0 / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3481, allocations: 187.8 kB / 0.9939 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3484, allocations: 39.52 kB / 0.9939 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3495, allocations: 0.8905 MB / 0.9948 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.3498, allocations: 0.8347 MB / 0.9956 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.35, allocations: 94.92 kB / 0.9957 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.3501, allocations: 39.8 kB / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.3501, allocations: 7.938 kB / 0.9957 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.01014/0.3603, allocations: 7.37 MB / 1.003 GB, free: 2.699 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)