Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_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.001232/0.001232, allocations: 109.4 kB / 15.69 MB, free: 124 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.001304/0.001304, allocations: 189.6 kB / 16.62 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.908/1.908, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 73.81 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2326, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002193/0.2349, allocations: 0.8705 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2368, allocations: 1.45 MB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.2368, allocations: 4 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.2373, allocations: 203.4 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.2375, allocations: 99.66 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.2384, allocations: 361.6 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008148/0.2392, allocations: 0.8853 MB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.2394, allocations: 100.2 kB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.2398, allocations: 355.3 kB / 0.7883 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.2403, allocations: 259.4 kB / 0.7886 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.2404, allocations: 44 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.2407, allocations: 111.9 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.2411, allocations: 335.3 kB / 0.7891 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.2414, allocations: 282.8 kB / 0.7893 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.2422, allocations: 0.9038 MB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2422, allocations: 4 kB / 0.7902 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2423, allocations: 0 / 0.7902 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2423, allocations: 0 / 0.7902 GB, free: 6.492 MB / 0.6075 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.00154/0.2438, allocations: 0.8957 MB / 0.7911 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2439, allocations: 8.031 kB / 0.7911 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.2441, allocations: 56.38 kB / 0.7912 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.2449, allocations: 0.5409 MB / 0.7917 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.2449, allocations: 24.61 kB / 0.7917 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.245, allocations: 40.31 kB / 0.7917 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.2455, allocations: 299.4 kB / 0.792 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2455, allocations: 4.188 kB / 0.792 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.2455, allocations: 7.938 kB / 0.792 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2455, allocations: 4 kB / 0.792 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.2459, allocations: 223.8 kB / 0.7923 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.2477, allocations: 1.176 MB / 0.7934 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.2483, allocations: 475.7 kB / 0.7939 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.2486, allocations: 178.5 kB / 0.794 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2486, allocations: 4 kB / 0.794 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.249, allocations: 340.3 kB / 0.7944 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.2491, allocations: 0 / 0.7944 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009504/0.25, allocations: 0.6219 MB / 0.795 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.2501, allocations: 130.7 kB / 0.7951 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.2508, allocations: 0.5992 MB / 0.7957 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.5e-05/0.2509, allocations: 45.69 kB / 0.7957 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.2511, allocations: 213.6 kB / 0.7959 GB, free: 388 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.2511, allocations: 43.42 kB / 0.796 GB, free: 344 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.2514, allocations: 185.5 kB / 0.7961 GB, free: 152 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2515, allocations: 362.8 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2517, allocations: 123.9 kB / 0.7966 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.2525, allocations: 0.7188 MB / 0.7973 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.2528, allocations: 304.6 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2528, allocations: 0 / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006067/0.2534, allocations: 420.9 kB / 0.798 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2535, allocations: 4 kB / 0.798 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2535, allocations: 7.938 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2535, allocations: 11.98 kB / 0.798 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2537, allocations: 35.86 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.2537, allocations: 11.88 kB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.2549, allocations: 128 kB / 0.7982 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2549, allocations: 16 kB / 0.7982 GB, free: 13.8 MB / 0.6231 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.0003143/0.2553, allocations: 262.3 kB / 0.7985 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.2553, allocations: 43.44 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.2554, allocations: 55.36 kB / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2555, allocations: 7.938 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2555, allocations: 256 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2555, allocations: 0 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.2559, allocations: 409.3 kB / 0.7989 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2559, allocations: 0 / 0.7989 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.2559, allocations: 4 kB / 0.799 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2559, allocations: 3.938 kB / 0.799 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2559, allocations: 11.98 kB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.256, allocations: 7.938 kB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.256, allocations: 0 / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.2566, allocations: 0.5097 MB / 0.7995 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.2567, allocations: 128.7 kB / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.2568, allocations: 0 / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.257, allocations: 27.91 kB / 0.7996 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.257, allocations: 31.91 kB / 0.7997 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2571, allocations: 19.94 kB / 0.7997 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004664/0.2575, allocations: 431.1 kB / 0.8001 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2576, allocations: 0 / 0.8001 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004383/0.258, allocations: 115.8 kB / 0.8002 GB, free: 11.65 MB / 0.6231 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.0002158/0.2582, allocations: 137.5 kB / 0.8003 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005439/0.2588, allocations: 359.6 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2588, allocations: 0 / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.259, allocations: 188 kB / 0.8008 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2593, allocations: 38.08 kB / 0.8009 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2605, allocations: 0.8262 MB / 0.8017 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.2609, allocations: 0.839 MB / 0.8025 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.2611, allocations: 94.91 kB / 0.8026 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.2612, allocations: 39.44 kB / 0.8026 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2612, allocations: 0 / 0.8026 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of Templates: time 0.01218/0.2734, allocations: 7.931 MB / 0.8104 GB, free: 1.25 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)