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.001175/0.001176, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001186/0.001186, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.525/1.525, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.786/1.786, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001457/0.001458, allocations: 67.03 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2413, allocations: 114.6 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00229/0.2437, allocations: 0.861 MB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2457, allocations: 1.456 MB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.2458, allocations: 4 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.2464, allocations: 199.4 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2465, allocations: 115.6 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2476, allocations: 352.8 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000897/0.2485, allocations: 0.858 MB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4363/0.6848, allocations: 92 kB / 0.7879 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006667/0.6855, allocations: 342.7 kB / 0.7882 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.6859, allocations: 266.5 kB / 0.7885 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.686, allocations: 43.41 kB / 0.7885 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.6864, allocations: 112.1 kB / 0.7886 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.6868, allocations: 344.9 kB / 0.7889 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.6871, allocations: 273.5 kB / 0.7892 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008095/0.6879, allocations: 0.8977 MB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6879, allocations: 3.156 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6879, allocations: 0 / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.688, allocations: 2.25 kB / 0.7901 GB, free: 45.84 MB / 0.6544 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.001399/0.6894, allocations: 0.89 MB / 0.791 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6894, allocations: 7.875 kB / 0.791 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.6896, allocations: 55 kB / 0.791 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.6903, allocations: 0.5442 MB / 0.7915 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.6903, allocations: 23.41 kB / 0.7916 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.6904, allocations: 37.19 kB / 0.7916 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.6908, allocations: 305.5 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6909, allocations: 3.656 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.6909, allocations: 15.22 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6909, allocations: 3.688 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.6912, allocations: 217.7 kB / 0.7921 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.6928, allocations: 1.184 MB / 0.7933 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.6934, allocations: 469.2 kB / 0.7937 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.6935, allocations: 180.9 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.6936, allocations: 8.609 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.694, allocations: 327.8 kB / 0.7942 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.535e-06/0.694, allocations: 0 / 0.7942 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009002/0.6949, allocations: 0.6288 MB / 0.7948 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.695, allocations: 122.2 kB / 0.7949 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.6956, allocations: 0.596 MB / 0.7955 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.152e-05/0.6956, allocations: 44.98 kB / 0.7956 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.6959, allocations: 213.9 kB / 0.7958 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.6959, allocations: 52.02 kB / 0.7958 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.6961, allocations: 184.9 kB / 0.796 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.6962, allocations: 362 kB / 0.7963 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6964, allocations: 126.2 kB / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/0.6971, allocations: 0.7201 MB / 0.7972 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.6974, allocations: 297.3 kB / 0.7975 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6974, allocations: 4.375 kB / 0.7975 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006337/0.698, allocations: 420.4 kB / 0.7979 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6981, allocations: 6.375 kB / 0.7979 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6981, allocations: 6.578 kB / 0.7979 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.6981, allocations: 10.75 kB / 0.7979 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.6983, allocations: 31.48 kB / 0.7979 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.6983, allocations: 9.719 kB / 0.7979 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6996, allocations: 120.4 kB / 0.798 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.6996, allocations: 20.39 kB / 0.7981 GB, free: 42.97 MB / 0.6544 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.0003194/0.7, allocations: 260.2 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.7, allocations: 42.25 kB / 0.7983 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.7001, allocations: 55.84 kB / 0.7984 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7001, allocations: 3.812 kB / 0.7984 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.7001, allocations: 4.562 kB / 0.7984 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.7002, allocations: 3.938 kB / 0.7984 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.7005, allocations: 408.1 kB / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7006, allocations: 0 / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.7006, allocations: 6.781 kB / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7006, allocations: 4.812 kB / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.7006, allocations: 13.7 kB / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7006, allocations: 2.375 kB / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7006, allocations: 1.906 kB / 0.7988 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.7013, allocations: 0.5195 MB / 0.7993 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.7014, allocations: 129.4 kB / 0.7995 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.7015, allocations: 11.81 kB / 0.7995 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.7016, allocations: 12.27 kB / 0.7995 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.7017, allocations: 31.91 kB / 0.7995 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.7018, allocations: 10.44 kB / 0.7995 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005109/0.7023, allocations: 435.2 kB / 0.7999 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7023, allocations: 4 kB / 0.7999 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005233/0.7028, allocations: 111.8 kB / 0.8 GB, free: 42.29 MB / 0.6544 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.0002845/0.7031, allocations: 145.5 kB / 0.8002 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000698/0.7038, allocations: 371.2 kB / 0.8005 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7038, allocations: 4.125 kB / 0.8005 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.7042, allocations: 221.5 kB / 0.8008 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.7045, allocations: 40.03 kB / 0.8008 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.7059, allocations: 0.8833 MB / 0.8017 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7063, allocations: 0.8349 MB / 0.8025 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.7064, allocations: 35.69 kB / 0.8025 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7064, allocations: 0 / 0.8025 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.01616/0.7226, allocations: 6.966 MB / 0.8093 GB, free: 40.45 MB / 0.6544 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)